Half asleep, in a lock box or safe. 15 sec. in your dreams of Hollywood movies. It has been shown (but I fail to find the links) that anyone other than trained military or police personnel would fumble about for quite a few seconds before getting their bearings and went for a loaded weapon in a lock box or safe. And if the safe is in the closet, the closet is not next to your bed. Unless it's a tiny bedroom.
It's easy to play out these senarios in our heads, but until we are faced with the situation we will never know. You did face part of it. But no weapon was present (intruder had no gun), otherwise you could be dead. Think about it, you suprised him, if he was packin you are toast. Now if you had a weapon with you when you went down stairs then yeah, bad guy could be pushin daisies. I have been robbed at gun point. A gas station I use to work at when I was young. Older gent that was workin with me nearly shiit his pants. I for some weird reason was way to damn calm for havin a 38 shoved in my face. With seconds to think, hmmm, go for the gun, wait till he turns and then..., wait till they are leaving (there was 2 of them. Other was get away driver on motorcycle only one with gun) then... In the end they leave and we all lived. I had 3 opportunities to totally crush the guy, but I just said screw it.
Just be careful is all.