Both the snake and I did double take for a fraction of a second then things got a little wild. The snake shot out from the quarter berth towards me, I simultaneously sprang up the companionway. The snake was moving fast and headed up to the forward cabin, it reared up and headed back towards me at speed as I retreated to the cockpit.