If you are a suspect, it's different. You have to obey to cops.
If you don't, then you'll probably die.
You have to obey the criminal who points a gun to your head and can use it without any following the protocol or laws like cops do. Cause he's a criminal. If you don't, you will definitly die.