Cocked and locked 1911 Compact in the headboard cubbyhole. Never had a problem with gun fondling in my sleep.
I'd keep a 12 ga. pump in a scabbard on the side of the headboard, but the wife wouldn't go for it. Hell, if I were single, I'd have iron stashed all over the house, garage, basement, etc.