Nope, I think you handled it poorly.
Police don't just start blowing holes in the brush when they hear a stick snap or a voice in the woods in the circumstances you described.
The longer you waited to identify yourself verbally while staying hidden after you alerted them to your presence, the worse it looked & the more tension you created.
Fortunate for you that one of them knew you.
Denis
|