How do you turn a boat into a hat?

Just turn it over, and now it's capsized!