國民政府軍事委員會
In 1938, in the name of unity against the Japanese threat, Li was restored to membership in the Kuomintang, and again became a member of the Military Affairs Commission and the State Council. During the Sino-Japanese War, Li served in several military posts. In 1944, he was appointed president of the Military Advisory Council, and worked to consolidate resistance against Japan in southern Guangxi. At the 6th National Congress of the Kuomintang in May 1945, Li was elected to the Central Supervisory Committee of the Kuomintang, and served as a delegate to the National Assembly the following year.