In Chapter 9, as Lü Bu became increasingly resentful of Dong Zhuo, Wang Yun used the opportunity to instigate and incite Lü Bu to turn against Dong Zhuo. Wang Yun managed to convince Lü Bu to kill Dong Zhuo, and then set up an ambush near the palace gates. He then lied to Dong Zhuo, saying that Emperor Xian wanted to abdicate his throne to him, and lured Dong Zhuo into the ambush, where he met his end at Lü Bu's hands. Later in Chapter 9, when Chang'an was surrounded by Li Jue and Guo Si's forces, Wang Yun made them promise to not harm Emperor Xian and then committed suicide in front of them by jumping off the viewing platform above the city gates.