He risked the pain and physical injury because he thought that he might hereby avoid a greater risk. He hoped to get shot.