That year he returned to Australia and on promotion to brigadier took over the 10th Task Force, which was based in New South Wales. He attended the Imperial Defence College in London in 1970 and afterwards he was promoted to major general and appointed Commander of Australian Forces in Vietnam. He remained in the country throughout 1971 and 1972 and oversaw the withdrawal of Australian forces, for which he was appointed a Companion of the Order of the Bath.[8] His next appointments were Chief of Materiel in Army Headquarters (1972–74) and General Officer Commanding Field Forces (1974–77). In 1977, having been raised to the rank of lieutenant general, he became Chief of the General Staff (CGS), being extended in that capacity twice before retiring from the Army in 1982.[9] During his time as CGS, Dunstan reorganised the Army around the concept of specialised brigades and worked to improve the readiness of Army units to meet rapidly developing threats.[10] This work later proved pivotal in ensuring the success of the Australian intervention in East Timor in 1999.[8] His service as service chief was recognised by his appointment as a Knight Commander of the Order of the British Empire in 1980.[11]