To prevent any would-be attacker from coming close by adopting an offensive posture.
To stand some distance apart from something or someone.