I kept a gun hanging from the corner of the headboard in a shoulder holster. My house was recently broken into and the gun was stolen. I posted about it on another forum. I got called a lot of things for keeping a gun like that, "reckless", "irresponsible", and several others. Keep in mind, we have no kids and there are never any kids in our home either. The gun I kept was fairly rare and had a lot of sentimental value. So my advice to anyone willing to listen would be to not put a gun by your bed that you can't easily replace, whether it be because it's rare or whether it has special meaning to you.
I have no hope of ever seeing my gun again. But I replaced it with an inexpensive Mossberg 835 and no matter what people call me, I always keep a gun within arms reach from the bed.