Grammatically feminine when referring to a boat at sea, masculine for a boat on land, in harbour etc.