I'm always open carrying at home whether on the couch, cooking, or whatever. While sleeping, I have at least one firearm within arm's reach.
If he's not aware of my presence, I'd retreat back to my room, call the police, and tell the dispatcher I'm armed (hopefully giving them a sense of urgency), keep them on the line, and hope for the best. Whenever I have a gun, I turn into somewhat of a complete coward. I'd rather have NO confrontations whatsoever. Still, you play the hand you're dealt, and if someone else forces my hand, well, again, I hope for the best.