 Soon, Wang himself rebelled against Li Yuan and seized him, surrendering to the imperial forces.Upon Cui's return to Chang'an, Li Shimin made him a commander of the imperial guards and awarded him with gold and good horse(s).Later in 626, Emperor Gaozu passed the throne to Li Shimin, who took the throne as Emperor Taizong.