Gods, this was a problem in my younger days. Not actually firing my fifty cal, but worrying about it.
For whatever reason, I had a chain of doctors that were absurdly attractive. It was not common to need any genital exams, but it did happen some. You do enough lifting, and enough high impact workouts in martial arts, and you run into groin issues here and there. Spread that out over more than a decade, and chances start piling up
Luckily, the pain that had me there combined with the nerves of worrying about the missile going into launch position usually prevented exactly that. But holy crap, the times it didn't were awkward as hell.
The one doc, it happened twice. I kept apologizing, and she finally said she didn't care, and that it was obvious it wasn't me being a douche or anything.