Yeah, even though he didn't actually pull the handgun, I'd say that was brandishing. Clearly an implied threat based on showing her the weapon(s).
If he intended to show her just the badge, that was probably to make her think he's a cop to make her think he can order her to move. I'd say that was impersonating.
If only we could figure out how to harness the energy from stupid we could eliminate our dependence on foreign oil.