Your safety is compromised, but that does not mean the danger cannot be escalated. If you are mugged at gunpoint, are you going to hand over all your cash and keep your hands up as much as possible or are you going to swiftly cut up your credit cards?
Also, if you're being physically compelled to provide a passwords it seems your personal safety is already compromised.