…to lose your job as a cop?
If you’re the police chief in Phoenix, the answer is “insubordination”. Specifically, calling a press conference and demanding a new contract after the city manager said “Don’t DO that!” seems to be a sure way to get yourself terminated.
If you’re with the Austin Police Department, the answer is “running your mouth to a reporter”. Technically, Andrew Pietrowski “retired”, but it seems like his retirement was just ahead of “being canned by Art Acevedo”.
The way I read this, it wasn’t like Pietrowski was asked for his opinion; he just walked up to a reporter who was there for another reason and started spouting off.