 In 622, fearing that Emperor Gaozu of Tang might doubt his loyalty, he went to the Tang capital Chang'an to pay homage to Emperor Gaozu and stayed at Chang'an.In 624, his general Fu Gongshi rose against Tang rule, claiming to have his blessing, and he subsequently died at Chang'an unexpectedly; after Fu's defeat, Emperor Gaozu, believing him to be complicit with Fu's rebellion, posthumously stripped his honors and made his wife and children servants.After Emperor Gaozu's son Li Shimin became emperor in 626 (as Emperor Taizong), he knew that Du had not been complicit in Fu's plot, and therefore posthumously restored his honors and reburied him accordingly.