With the solicitation of Kazan's childhood friend FUJIWARA no Michikane (Kaneie's third son), Kazan finally decided on becoming a priest, escaping the court in the cover of darkness and went to Gankei-ji Temple (Kazan-ji Temple) in Yamashina, Kyoto together with Michikane to have his head shaved.
花山の幼なじみであった藤原道兼（兼家の三男）の教唆もあって花山はついに出家を決意、夜陰に乗じて内裏を抜け出し、道兼に付き添われて山科の元慶寺（花山寺）に赴き剃髪した。