At the time of the Meiji Restoration, the relocation of the capital was avoided by Edo becoming Tokyo, but it became the absent capital due to Emperor's imperial stay in Tokyo (please refer to the section of "Tokyo Tento").
また明治維新の際には、江戸を東京とすることにより遷都は避けられたものの、天皇の東京行幸で留守の都となった（→東京奠都）。