I can’t answer what ‘we’ would do because in truth it be different for each of us at that moment.
But it is a related question that I had at various times in my life, If I was about to be shot dead, would I deny my faith if that would save me…
I haven’t really been able to answer it and that means, I probably would deny my faith because survival instinct would take over. But now that I am a bit older and so long as I don’t let panic take over, I would be shot dead for my faith rather than denounce my faith. It is one thing to walk away from ‘God’ when its one’s own choice, but to make it a matter of life and death. I hope I would be brave enough to be shot dead and I wouldn’t be trying to make me be a martyre or anything like that. Just simply I would hope my faith is greater than my desire of being alive. The guilt I would face to saying I do not believe in God, when I do believe in God and the sheer, ‘will God still love me’ for denouncing him just to stay alive would allow me to die for my faith - I would hope.
So to answer your question, I hope I would be brave enough to allow the person holding the gun to shoot me rather than be torture another though am more than aware even if they did shoot me, that don’t stop them from still torturing the other etc does it depending on the fullness of the moral dilema you present. I hope to God that I wouldn’t deny my faith and let the persecuter take me instead, but in reality I don’t know what I would actually do, just hope I do the right thing by not denouncing my faith and just what will be, be.