In New Jersey they categorize that as BRANDISHING, and send you to jail.
In Arizona we passed a special law simply to prevent that sort of abuse. It is called the defensive display law, and it allows you to let a potential attacker know you are armed without worrying about being charged with a crime because you did so.