In fall 386, with support of Western Yan and Liu Xian, Tuoba Gui's youngest uncle Tuoba Kuduo () made a claim to the throne, and there were many chiefs under Tuoba Gui who secretly conspired with Tuoba Kuduo, causing Tuoba Gui to panic to flee to his maternal uncles' Helan tribe, while seeking assistance from Later Yan. Later Yan's emperor Murong Chui sent his son Murong Lin to assist, and together they defeated Tuoba Kuduo, who fled to and was executed by Liu Weichen.