Well, if they're holed up in port, you can't just sail in there can you?

But there aren't any defenses from the land side of a port, so it makes sense.