In the history of China, the king of the fallen country generally did not have a good end to save his life, but the emperor escaped the disaster and finally became the prince of the runaway. What's going on here?

Dong table into Beijing
In 189 AD, Dong Zhuo deposed the Young Emperor Liu Xie and replaced him with Liu Xie the Prince of Chenliu as emperor (historically known as Emperor Xian of Han) With Dong Zhuo's actions of wreaking havoc on the country and the people in Luoyang, the following year the allies with Yuan Shao as their ally joined forces with the princes of the world to conquer Dong Zhuo. Dong Zhuo finally coerced Emperor Xian of Han into fleeing to Luoyang and moving the capital to Chang'an. In the third year of Chuping, Wang Yun and Lü Bu killed Dong Zhuo, but the good times did not last long, and the Eastern Han dynasty fell into the hands of Li Yu and Guo Feng again, and finally Li Guo and his men attacked each other and killed and wounded countless people and finally became a ruin, and Emperor Xian of Han came to Hongnong under The threat of Li Yu's men, entered AnYi, and finally Cao Cao took him to his territory Liu Xie gave Cao Cao a festival to make the era of the princes officially arrive.
During the Jian'an period, as Cao Cao's strength was further strengthened, Emperor Liu Xie slowly fell into the hands of the puppet emperor's military and political power in the hands of Cao Shi At this time, Cao Shi's idea that cao shi had not yet replaced it was not justified after all, and there were many princes in the world. Although the Han Room is weak, everyone is under the banner of the Han Room.
In 220 AD, Cao Cao died with regret, and Liu Xie, who had been a puppet emperor in the deep palace for 24 years, abdicated under the persecution of Cao Pi, and in December 220 AD, Liu Xie told the ancestral temple to make Zhang Yin play the Seal Edict, and Zen was located in Cao Pi. Cao Pi ascended to the altar of Zen at the Fanyang Pavilion and received the jade seal, that is, the emperor of the Han Dynasty officially ended Liu Xie officially became the king of the fallen kingdom and was demoted by Cao Pi to the title of Duke of Shanyang, which has been under Cao Pi's surveillance. So why didn't Cao Pi kill him? First, Liu Xie, the emperor of Han Xian, who had been a puppet emperor for many years, did not have much appeal and influence, but was just a used up mascot. Second, his sisters married the Han Xian Emperor Cao Pi and did not do well. Third, despite this, Emperor Xian of Han had no chance or intention of resisting under the supervision of Cao Pi, and there was no need to hurt the killer to make himself bear the name. Cao Pi also left a kind word for Liu Xie at the same time: "The good things in the world, I can enjoy it with you."
He then entered Xu Capital, changed the first year of Yankang to the first year of Huang Chu, the state name was Wei, posthumously honored Cao Cao as Emperor Wu, the temple number was Taizu, and Liu Xie was made the Duke of Shanyang, allowing him to build a Hanzong temple in his fiefdom Han Zhengshuo and build a Hanzong temple to enshrine Han.
After Liu Xie became the Duke of Shanyang, he stayed away from politics and began to use the medical skills he had learned to save the people. He and his wife Cao Jie halved taxes on their fiefdoms, and those who reclaimed wasteland were exempted from paying taxes for three years. Under his management, the people of Shanyang lived a life of peace and contentment.
Liu Xie died of illness at 54: Cao Pi's son Cao Rui held a state funeral for him, amnesty for the world, and the local people also went to the funeral. Because it was rumored that Liu Xie was killed at that time, Liu Bei established Han (historically known as "Shu Han", Liu Bei was Emperor Zhaolie of Han), and posthumously honored Liu Xie as "Emperor Xiaoxuan".
In the second year of the reign of Emperor Qinglong of Wei (234), in March Gengyin (21 April), Liu Xie's life was at his death, and Emperor Cao Rui of Wei ming led his courtiers to personally cry for an emperor who had fallen to such an end.