You did fine. All's well that ends well. You also gave the idiot/aggressor something to think about. Next time he loses his cool, he could lose his life as well.
We are still talking about branishing (sic) a weapon...moving a physical altercation into a potential deadly altercation.
Some people will second-guess the sun rising in the East.