to protect yourself against an attack by making a safe place in the ground
Definitions from the Oxford Advanced Learner's Dictionary, 9th edition