 He later served on the headquarters staff of the II Corps (1942–1943) and the Second Army (1943–1945).He was formally discharged in October 1945.After leaving the military, McMahon travelled overseas for 18 months, visiting Europe and North America.