Emperor Yang put Xiao Yu and Pei Ju in charge of planning the military counteroffensive, but was only able to get the siege lifted after he followed the advice of the empress's brother Xiao Yu and sent messengers to Princess Yicheng, who was directing military affairs at the Turkic capital in her husband's absence.