I remember reading years ago that the Astronauts had pistols aboard on the Apollo missions. The idea, as I recall, was not to repel moonmen or space invaders, but as a final option in case of some dark and desperate (but very human) eventuality.
Supposedly, the pistols were .45 cal 1911's...