A travel eSIM connects to local land-based networks. Near the coast and in port you'll usually have signal; out on open water you generally won't.
Cruises
Dedicated cruise/satellite plans exist but are expensive. Many travelers rely on the ship's Wi-Fi at sea and switch to their eSIM in each port of call, where coverage returns.
Island-hopping ferries
Expect your connection to drop mid-crossing and return as you approach the next island. Download maps, tickets and entertainment offline before you board.
Tip
Buy a plan that covers all the countries/islands on your route, and treat at-sea time as an offline break.