Gallas was forced to retreat back to Bernburg where Torstensson's superior cavalry supported by Hans Christoff von Königsmarck fully encircled the Imperials and denied them any supplies. By deceiving Torstensson to attack a small decoy force, Gallas was able to escape to Magdeburg in November where the pattern repeated itself. His army been shrunken by hunger, sickness and desertion, and himself fallen ill, Gallas ordered his troops to break out. The cavalry under Adrian von Enkevort and Raimondo Montecuccoli was caught by the Swedes at Jüterbog and only partly escaped, the small remaining portion of infantry under Johann Wilhelm von Hunolstein safely reached Bohemia in early February 1645. Gallas himself stayed with the diseased soldiers in Magdeburg and only returned to Prague in late February. His command was given to Melchior von Hatzfeldt who lost and was captured at Jankau in March. The slightly recovered Gallas was again recalled to assist the new Generalissimo Leopold Wilhelm as his deputy. He collected the dispersed Imperial troops in Bohemia and organised the defence of the kingdom whereas Archduke Leopold Wilhelm held the Danube. The Bavarian defeat by France at Second Nördlingen in August made an Imperial diversion necessary to help them out. Both Gallas and the Archduke moved to Bavaria and repulsed the French army back to the Rhine while the defence of the Danube was left to three army corps under Puchheim, Hunolstein and Annibale Gonzaga. When Gallas' health and his relationship to the Archduke strongly declined at the end of the year, he left his office again. Feeling somewhat more in health, Gallas was asked to replace the Archduke as supreme commander in December 1646. Despite arguing for Piccolomini instead of him, Gallas agreed. Soon, he was again afflicted by gout and fever. Too ill to lead another campaign, he restricted his efforts to conserve the Imperial army through the winter. The war-weary Gallas could not prevent the Bavarian Elector Maximilian from signing the Truce of Ulm with France and Sweden in March 1647; he even admitted that Maximilian was doing the right thing. The emperor recalled Gallas to Vienna in late March, his command was transferred to Count Holzappel on 17 April. Gallas died eight days later due to a failed surgery. Assessment The successes of Gallas' early career were not matched by his achievements after 1634. He was a general that never lost a major battle because he