Without intending to irritate anyone, or appear callous in regard to the souls missing, transponder appears to be located on the pedestal next to the FO's left arm... tries to squawk 7700 while passing out and instead accidentally switches it off...?
Doesn't seem likely. The code change switches have a different and distinctive feel from the mode selector switch.