On November 6, 1948, the Huaihai Battle, one of the three major battles, broke out. In the second stage of the Huaihai Campaign, the People's Liberation Army surrounded the 12th Corps of the Kuomintang and surrounded the 12th Corps in Shuangdui. The 12th Corps is the main force of the Kuomintang, and the 18th Army under its jurisdiction is one of the five trump cards of the Kuomintang. Therefore, when it was first surrounded, the commander of the 12th Corps, Huang Wei, was not in a hurry. However, soon after, the situation changed dramatically, and Huang Wei began to be unable to sit still and decided to break out.

In December 1948, during Huang Wei's breakthrough, the commander of his 110th Division, Liao Yunzhou, took the initiative to volunteer, hoping to be the vanguard of the breakout. Huang Wei was overjoyed after hearing this and hurriedly handed over many advanced weapons to Liao Yunzhou. Liao Yunzhou's true identity was a member of our party. He was ordered to lurk in the Kuomintang troops. Taking advantage of this opportunity, Liao Yunzhou counterattacked, completely disrupting Huang Wei's deployment. In the chaos, Huang Wei was defeated and captured, and has been imprisoned since then.

After the founding of New China, Huang Wei was transferred to the Gongdelin War Criminals Management Center. It is worth mentioning that he was a relatively individual person and refused to admit guilt or even admit failure. While in Gongdelin, Huang Wei grew a beard to show that he was a member of the Kuomintang. The Kuomintang war criminals who were imprisoned with Huang Wei once persuaded Huang Wei to change his temper. Huang Wei not only refused to change, but also ridiculed them.
However, Huang Wei's living conditions were good during his stay in Gongdelin. Not only could he eat white flour steamed buns, but he could also drink milk. Even during the three-year natural disaster period, Huang Wei could also eat meat. At that time, the public security department specially arranged personnel to go to the grasslands to hunt yellow sheep to supply these Kuomintang war criminals. Huang Wei recalled after being released from prison that he only remembered that the guards during that period had become "fat". Later he found out that it was edema.

After being detained in Gongdelin for a period of time, Huang Wei was first transferred to Qincheng Prison, and then to Fushun War Criminals Management Center after a period of time, where he continued to be detained. While being imprisoned, Huang Wei was most famous for his research on perpetual motion machine and . He was particularly obsessed with perpetual motion machines. However, Huang Wei's first purpose of studying perpetual motion machines was to escape reform. However, during the research process, Huang Wei gradually became obsessed with it. After he was released from prison, he continued to study perpetual motion machines.
In 1959, our party began to pardon the first batch of war criminals. Huang Wei was originally on the amnesty list, but because of his stubborn attitude, Huang Wei never received amnesty. It was not until 1975, after the first session of the Fourth National People's Congress, that our party decided to pardon all war criminals. This was also the last batch of war criminals to be pardoned. Huang Wei regained his freedom in this year and was imprisoned for a total of 27 years.

After being released from prison, Huang Wei wanted to return to his hometown in Jiangxi, but Premier Zhou suggested that he stay in Beijing, which would not only help his physical recovery, but also help him engage in research work. So Huang Wei stayed in Beijing and joined the Cultural and Historical Materials Research Committee of the National Committee of the Chinese People's Political Consultative Conference, mainly engaged in research on the history of the Anti-Japanese War and the history of the Kuomintang.
In 1983, Huang Wei was elected as a member of the Standing Committee of the Sixth CPPCC National Committee, enjoying deputy ministerial status. In his later years, Huang Wei did a lot of work in promoting cross-strait peace. In 1989, Huang Wei died suddenly of a heart attack before leaving for Taiwan at the age of 85. It is worth mentioning that Huang Wei attaches great importance to this trip to Taiwan. He has made many plans, such as sweeping the graves of Chiang Kai-shek and Chen Cheng ...

Speaking of Chiang Kai-shek and Chen Cheng, these two people are the two people Huang Wei is most grateful for in his life. In his later years, Huang Wei once said frankly: Chiang Kai-shek (Chiang Kai-shek) was kind to me, and Chen Cheng was as kind as a mountain to me. I am most grateful to them. The reason why Huang Wei said this is related to his life experience. Huang Wei was born in a poor family. In 1924, he was admitted to the first class of Huangpu and became a student of Chiang Kai-shek. Chiang Kai-shek admired Huang Wei very much, so Huang Wei said that he had been kind to him. Chen Cheng even promoted Huang Wei and helped Huang Wei many times in officialdom and life, so Huang Wei said that he had been kind to him.