After Li Mi departed Chang'an, however, Emperor Gaozu changed his mind and tried to summon Li Mi back to Chang'an. Li Mi had reached Chousang (綢桑, in modern Sanmenxia, Henan) by that point, and he was fearful of what Emperor Gaozu was intending. Despite Jia's and Wang's opposition, he decided to rebel. He made a surprise attack on Taolin (桃林, also in modern Sanmenxia), capturing it. He then publicly declared that he was heading to Luoyang, but instead was heading to Xiangcheng (襄城, in modern Pingdingshan, Henan), where Zhang was. His movement was anticipated by the Tang general Sheng Yanshi, however, who laid a trap for him on the way to Xiangcheng. Sheng killed him and Wang.