Return from exile
From September 1635 to June 1636, Hanau was unsuccessfully besieged by imperial troops under General Guillaume de Lamboy. This siege proved the value of the modern defensive system, which had been constructed only a few years before. Thousands of refugees fled from the surrounding villages into the city. After a nine-month siege, the city was relieved by an army under Landgrave Wilhelm V of Hesse-Kassel. He was Philipp Moritz's brother-in-law, as he had married Philipp Moritz's sister, Amalie Elisabeth. A church service was held annually to commemorate the relief. After 1800, this developed into an annual Lamboy festival.
In 1637, Philipp Moritz reconciled with the new Emperor, Ferdinand III and changed sides again, back to the Catholic side. He returned to Hanau on 17 December 1637. General Ramsay ignored this and interned Philipp Moritz in the City Castle. He was obviously hoping to receive Hanau as a fief.
However, on 11 February [O.S. 2 February] 1638, Johann Winter von Güldenborn, a major in the Hanau army, supported by members of the Wetterau Association of Imperial Counts, staged a coup against the Swedes. He drove them out of Hanau and restored Philipp Moritz to power. General Ramsay was arrested and taken to Dillenburg, where he died months later from injuries he sustained during this action.