In June 1918, the Goiginger corps takes part in the Second Battle of the Piave River, the Central Powers' last attempt to wrest the decision on the Italian front. It occupied a bridgehead in Montello and, on June 19, repulsed an Italian counter-attack, capturing 12,000 prisoners and 84 cannons. General Svetozar Boroević, the front's commander, found a way to exploit Montello's position as a base for the next offensive. But Erich Ludendorff, head of the German High Staff, said that Germany could not provide additional resources because it had to devote all its reserves to the Western front. Having consulted with the Austro-Hungarian Chief of Staff Arthur Arz von Straußenburg, Emperor Charles decided that on June 20, to abandon the offensive and to withdraw its forces north of Piave. Goiginger initially refuses to give up hard-won territory but, on reiterated orders, ends up submitting. Bosnian, Hungarian and Austrian soldiers evacuate Montello, the last troops withdrawing on June 23, ending the battle. This action earned Goiginger the Military Order of Maria Theresa.On July 19, he was appointed head of the Austro-Hungarian troops on the French front. The XVIII Corps comprised the 1st, 35th, 37th Divisions and the 16th Landsturm Division, attached to the Army Group Gallwitz. From October 1918, he was engaged in the Orne and suffered heavy losses against the American Expeditionary Forces. The November 3, by the Armistice of Villa Giusti, Austria-Hungary withdrew from the conflict. The Austro-Hungarian corps in France was evacuated to Arlon then, on November 10, towards Thionville. The last Austro-Hungarian troops leave Germany on November 29, disperse in the new states resulting from the breakup of the Habsburg Monarchy.