Once while Hadrian walked in the woods of a foreign country, a slave of his host ran out at him with a sword. He grabbed the man and took hold of him while he waited for the attendants who came to his aid. When it was established that the man was deranged, Hadrian asked that he be turned over to doctors and treated. And so the incident ended without the slightest agitation.
This is how we could all respond to the people who come at us. The passive aggressive rivals or snippy family members or bad friends. Hand them back over to their kind before anyone is harmed and move on. Understand that they are ill in their own way and only acting out the symptoms of their affliction, whatever it may be.
Soon enough, like Hadrian’s example, the reality of the threat will dissipate and all that will be left is the anecdote. If you can view it like that always, then there is no reason to be upset or shocked or rattled.