During the house arrest period, Emperor Jianwen, filled with sadness and fear, wrote several hundred poems—and because he was not given paper to write on, wrote the poems on the walls and screens of his residence. Less than two months after Emperor Jianwen's removal, Wang persuaded Hou that Emperor Jianwen must be removed, and Hou sent Wang, Peng Jun (), and Wang Xiuzuan () to visit Emperor Jianwen one night. Emperor Jianwen, knowing what their intentions were, feasted and drank with them, becoming very intoxicated. Once he fell asleep, they suffocated him, and then placed him in a makeshift casket, storing the casket in a brewery. In 552, after Wang Sengbian captured Jiankang, he had Emperor Jianwen's casket placed in the palace and then buried with imperial honors.