You're correct about feminine pronouns being used to refer to a ship. It's a long standing tradition. It applies (optionally) to most inanimate forms of transportation.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.