In 592, Yang Xiu appeared to be briefly recalled to the capital Daxing to serve as the head of the legislative branch of government, the "Neishi Sheng" (內史省), when Emperor Wen put him and the official Yu Qingze (虞慶則) in charge of investigating claims that the deputy head of the executive branch, the "Shangshu Sheng" (尚書省), Su Wei, had been engaging in factionalism. Yang Xiu and Yu found Su to be guilty, and Emperor Wen stripped Su of his titles. (It appeared that briefly thereafter, Yang Xiu returned to Yi Province.)