There IS in fact a correct response here. Pull the cat in close besides yourself.
Three things might happen.
1) Cat just stays. Ends up napping too. Everybody wins.
2) Cat FLEES. Get up and close the door to the bedroom (if you're not napping in a dead-end room, go do that if you want to keep...