Around the new year 619, Li Mi, wanting to revive his independence, rebelled against Tang but was soon killed by the Tang general Sheng Yanshi (). Emperor Gaozu sent messengers to Li Shiji explaining why Li Mi was killed. Li Shiji mourned Li Mi and requested that he be allowed to bury Li Mi with honor. Emperor Gaozu agreed and sent Li Mi's body to Li Shiji. Li Shiji, still using ceremonies due a ruler, buried Li Mi in a grand funeral south of Liyang.