Don’t come out the door.
What kind of country do you want to live in? A man can’t come out onto his own front porch, even after the officer who came to his home says, “If you have any more questions, follow me outside”? So those “questions” were yelled and may have been insults. So what? The officer should just walk away at that point. Policemen have a tough job and put their lives on the line but they are not gods and should be able to handle being insulted without taking it so personally that they abuse their power and arrest people just because they were yelled at.
I have this silly old-fashioned idea that we should always be polite, courteous, and prompt in responding to police officers, no matter how tired, frustrated, or upset we are.
Or, for that matter, how unfair they appear to be. If anything, this calls for even better manners.