In the following year, 1391, Ujiyuki and others came back to Kyoto secretly, and was allowed by Yoshimitsu ASHIKAGA when they met at Kinkaku-ji temple; Ujiyuki became Shugo of Hoki Province again when Mitsuyuki YAMANA was defeated at the Meitoku War.
その翌年の明徳2年（1391年）、京都市へ密かに戻った氏之らは清水寺にて足利義満と対面し赦免され、明徳の乱で山名満幸が没落すると再び伯耆守護職に就任した。