For what it’s worth, I remember paying a “departure tax” leaving Japan 10 years or so ago. I know Costa Rica imposes a departure tax.
But the tax is a small part of the cost of a ticket to or from Japan.
I sailed to Japan and back six times on MSTS.
I don’t recall an “exit fee.”