As far as I know the police are required to respond to a "man with a gun" call. The only problems would arise if they asked you for your ID. Otherwise, it sounds like a consensual encounter that turned out good.
And therein lies the question. Did they ask for your ID?