Well, if you were 110-percent certain before
the cops showed up that the holstered gun was a pellet gun, you should have walked up to the guy and told him to take his carp and get the fruck off the property. NOW!
Yes, even apparently crazy people will sometimes respond positively to assertive behavior. But sometimes not.
Otherwise, hind sight is '20-20 safe' and IDK.