An eSIM works the moment the ship docks and for a few kilometres out to sea. It does not work at sea, and nothing sold as a cruise eSIM does. Pick your route below for port-by-port coverage and the live cost of the whole trip.
In port and within a few kilometres of the coast it works exactly like on land, using the local network. At sea there is no land network; the ship's own cellular system bills your home SIM at satellite rates, so the eSIM line should be off between ports and ship Wi-Fi used instead.
For port days, by a wide margin: a 5GB plan for a whole itinerary costs less than one day of most ship internet packages. The two are not substitutes at sea, where only ship Wi-Fi works.
Turn off mobile data and data roaming on your home SIM before sailing, switch the eSIM line off when the ship leaves port, and use airplane mode with Wi-Fi at sea. Turn the eSIM back on when the port is in sight.