Well what happened to the freakin snake? How did you stay there?
LOL. The rest of the story, as Paul Harvey said.
I stuffed towels under the bedroom door and slept with one eye open and an axe in the bed beside me, along with my trusty watch cat, Fraidy.
Next morning, I examined the cabinet and found a gap behind the dishwasher. Threw in some mothballs, nailed and caulked it shut.
No more nocturnal snake visits.