He was forced to flee abroad after the failed Second Revolution of 1913 against Yuan Shikai, travelling via Japan to the United States, and returned in 1916 to participate in the final stages of the National Protection War, and to represent Zhejiang's military government in Beijing. When Sun Yat-sen ordered Kuomintang members to swear personal loyalty to him, Huang objected and left politics.
Huang reappeared into public life by supporting China's entry into World War I hoping it would regain lost territories. He worked with President Xu Shichang as a diplomat, co-wrote books about economics and foreign affairs and would often guest lecturer at universities. He was part of China's delegation to the 1921 Washington Naval Conference which secured the Beiyang government's greatest diplomatic triumph, the return of Shandong.
Huang was influential in winning over Feng Yuxiang and Yan Xishan to Chiang Kai-shek's faction of the Kuomintang (KMT) which was one of the major reasons why Wang Jingwei's Wuhan regime collapsed. He later served under several offices during the Nanjing decade including Shanghai mayor, foreign minister, and chairman of the North China Political Council. Despite his close ties to Chiang, he never rejoined the KMT as he did not want to be associated with the opportunists who joined during and after the Northern Expedition. In 1933, he signed the unpopular Tanggu Truce which ceded Chahar, Rehe, and part of Hebei to Manchukuo. Like Chiang, he viewed the Communists as a greater threat than the Japanese.