 However, they were relieved of their posts.At later time, when the people of Goguryeo were rising in resistance to Tang occupation, Xue was put in charge of pacifying the region, but yet later, probably in 675, Xue was deposed for reasons not clearly stated in historical records and exiled to Xiang Prefecture (, roughly modern Laibin, Guangxi), only allowed to return from exile when a general pardon was declared.In 681, Emperor Gaozong, remembering Xue's contributions, summoned him and again made him a general.