Really, Chongzhen had to make a big decision to abandon the capital. Abandoning the emperor to guard the country, the king died for the insistence of the country.
That is when Li Zicheng's troops entered Tongguan, he transferred Sun Chuanting's troops back to the capital and escorted him to move the capital to Nanjing. Because Sun Chuanting was the only minister loyal to Chongzhen at that time. And led the last army of Mingting. (Wu Sangui has become a warlord and listens to propaganda but not to orders, so the Liaodong cavalry does not count)
With the army, we can eliminate those who oppose the relocation of the capital and those who surrender. Along the way, it can also prevent local warlords from threatening the emperor. Such as Liu Zeqing, who is entrenched in Shandong.
To move the capital to Nanjing, we can either go by water or by land through Shandong. The water route is of course the best, but if there are not enough boats in a hurry, you can also go mostly by land and a small part by water to protect Chongzhen. Taking the land route is very dangerous, and Li Zicheng will send troops to pursue him.
With Sun Chuanting escorting him, entering Nanjing smoothly is not a problem. Then with military power in hand, the Donglin Party can be eradicated first, leaving only those who do practical things, and not allowing the Donglin Party to control the household department and the chief ministers of the cabinet. Then the imperial examination was held to select talents. Get the structure of the court in place.
In terms of military affairs, Liu Liangzuo, Gao Jie, Huang Degong, Liu Zeqing and other separatist warlords were promoted and rewarded, and were transferred to the defense line to serve as the first human shield. Those who don't go can be killed with a trick. Then use the troops you can control as the second line of defense.
In terms of economy, private businesses are encouraged to run industries, business taxes are collected, and key industries such as salt, iron, tea, cloth, and mines are state-owned or controlled. Banks may be controlled or nationalized, or the government may open its own banks, issue government bonds, and lend money. Open customs and vigorously develop maritime trade. Encourage people to go to sea. This aspect was guided by Zheng Zhilong, who promoted Zheng Zhilong to an official title, and then supported a figure who could compete with Zheng Zhilong.
After collecting commercial taxes, the land needs to be reformed, the gentry should also be included in the tax system, and agricultural taxes should be reduced. Accept refugees and provide employment and farming.
If you have money and food, you can issue wise orders, search for civilian civil and military talents, train new armies, and develop firearms. You can buy the latest Western weapons from the Portuguese in Macau and imitate them. Build the government's own navy.
In this way, after Li Zicheng and the Qing army decide the outcome, if he takes advantage of the natural dangers of the Yangtze River and temporarily operates as suggested above for five to ten years, the Qing army will be defeated. Historically, Nanming persisted for more than ten years.
The Tartars will be driven out and the Sun and Moon Flag will be restored soon. Even revive the Ming Dynasty. (Let Ming Dynasty become the first empire on which the sun never sets, and the whole world will learn Chinese, haha)