Hello, if there is an APEC visa in the old passport, after a new passport is issued, you can usually leave Japan with the old and new passports and the APEC visa. However, specific operations and regulations may vary, and it is recommended that you consult your airline or the Japanese Embassy before traveling to confirm the latest entry requirements and procedures.