Maxwell served at Gallipoli with his unit until 2 December, when he was admitted to 5th Field Ambulance and evacuated from the peninsula suffering from jaundice. Admitted to 3rd Auxiliary Hospital, Heliopolis, he remained there until 11 December, when he was posted to a convalescent camp at Ras el Tin. He rejoined the 18th Battalion on 5 January 1916, which had been evacuated from the Gallipoli Peninsula on 20 December the previous year and posted to Egypt. On 4 February, Maxwell was admitted to the Australian Dermatological Hospital, Abbassia with venereal disease. He returned to his battalion four days before it embarked for France, and the Western Front on 18 March.