 In winter 564, when Yuwen Hu, in alliance with Tujue, launched a major attack on rival Northern Qi, Yuwen Xian was sent to command part of the army attacking Luoyang, along with Yuchi Jiong, Daxi Wu (達奚武), and Wang Xiong (王雄).However, the Northern Zhou army was defeated by the Northern Qi army commanded by Duan Shao (段韶) and Hulü Guang, and Wang was killed, causing the army to panic.Yuwen Xian visited the various army camps and was able to calm the anxious army, and he wanted to resume fighting, but Daxi, as the senior general, judged the situation to be too volatile, and so ordered a withdrawal.