Yes. This should never have happened.
Agreed, I have been in similar scenarios where some joker is in my gated yard in the dark in the middle of the night banging on my window.
You do not just blast away.
One was an idiot friend, another was a stranger.
Both drunk.