The official website for The Settlers of Catan

Question about Entdecker Exploration - Moving the Ship - When do I have to pay toll?

Answer

If, at the beginning of your turn, the dotted line to be followed by the Explorer Ship traverses a tile where one of your opponents has a settlement or fort, you must pay toll to him. If this isn't the case, you don’t have to pay.