Residents who have lived in Japan for over 5 years in the last 10 (not including time spent on work visa or business manager visa) and who own financial assets worth over 100 million yen are subject to exit tax when they leave the country.
Exit tax is paid through your income tax return, and the aforementioned financial assets are counted at their price 3 months prior to your intended departure date.