Or roll up the window. Always best to get out of a situation if you can. Otherwise you could get stabbed...
I guess I missed where they said she had the keys in the ignition. If she didn’t, she might not be able to roll up the window or drive away.
I imagine she is not happy to have had to defend herself, but glad she had the gun.