 Emperor Taizong, apprehensive that Huige would collapse and lead to a new round of disturbances, sent Cui to pacify the Huige people and to create Yaoluoge Tumidu's son Yaoluoge Porun (藥羅葛婆閏) as the new ruler of Huige.In 649, Emperor Taizong died and was succeeded by his son Li Zhi (as Emperor Gaozong).Cui Dunli continued to serve as minister of defense, and in 652, he commissioned Cui with an army to gather the remaining tribesmen of Xueyantuo to force them relocate to Qilian Prefecture (祁連州, a prefecture established for them in modern Datong, Shanxi).