When Emperor Matsunaga heard that Emperor Chokei died while traveling the country to recruit pro-Imperial samurai, he handed over the Imperial Throne to Imperial Prince Yoshinaga, his first Prince, and became the Cloistered Emperor Seiryu, and went into seclusion at Yakushi-do Hall in Daitsu-ji Temple, located at Goi Miyoshihara in Mikawa Province (present-day Aichi Prefecture Toyokawa City Goyu-cho Miyoshi).
勤皇の武士を募るため全国を行脚していた長慶天皇が崩御したとの注進を聞き、松良天皇は皇位を第一皇子の美良親王に譲って聖竜法皇となり、三河国五井美吉原（愛知県豊川市御油町美世賜）の萬松山大通寺の薬師堂に隠棲した。