 Yang Guang made Yuwen Shu a commander of his palace guards and gave his daughter, the Princess Nanyang, to Yuwen Shu's son Yuwen Shiji (宇文士及) in marriage.In 604, while Emperor Wen was ill, Yuwen Shu was one of the guard commanders that Yang Guang summoned to guard Emperor Wen's vacation palace Renshou Palace (仁壽宮, in modern Baoji, Shaanxi).Emperor Wen soon died—a death that traditional historians, while admitting a lack of direct evidence, generally believed to be a murder ordered by Yang Guang.