Historically, it was indeed Zhu Qizhen who went on a personal expedition and was arrested by the Mongols. So Yu Qian made Zhu Qiyu emperor in Beijing. And then repelled the Mongolian soldiers.
Later, a few years later, a minister released Zhu Qizhen in negotiations with the Mongols. Then Zhu Qizhen was put under house arrest. About ten years later, Zhu Qiyu was seriously ill, so some ambitious ministers took the opportunity to re-establish Zhu Qizhen as emperor. At the same time kill Yu Qian. Zhu Qiyu was so ill that no one cared about him. Others were busy for several days before they remembered that there was a dying emperor. In the past, he has been dead for several days.
Then Zhu Qizhen refused to recognize the status of Emperor Zhu Qiyu, but sealed an ordinary king and hastily buried him, but he didn't bury him as an emperor.
Zhu Qizhen lived for more than ten years and then died of natural causes.
This is real history.