In April 1927, he became the General Affairs and Military Director of the Military Committee of the National Government. He was arrested and executed by the Kuomintang in Longhua, Shanghai during the Shanghai massacre of 1927. After his death, his daughter Sun Weishi was adopted by Zhou Enlai, later Premier of China.