According to Boat US, closed (or blocked) cockpit drains are the number one cause of boat sinkings in marinas. The cockpit fills up, and downfloods into the salon.
I had that happen to me last winter. We had heavy snow that blocked the drain in the cockpit then immediately followed by rain. Came to the boat and the bilge was full. And my boat is on a trailer.