Yes, that crazy incident would throw me off, too. Being in the situation....I would feel endangered and would of called the police, too. It sounds like you handled it very well....
We had an incident at work where a fired co-worker was yelling threatening us....and we dissociated and everyone wanted to do something different- so we are still trying to figure things out. Humans confuse us.
I'm glad that it worked out for your better.