Kemény's death consolidated Apafi's position.
Transylvanian noblemen hurried to pay homage to him.
He did not dismiss Kemény's chancellor, János Bethlen, and made Gábor Haller his treasurer.
Although Kemény's staunchest partisans sought Leopold I's support, their envoys could not exact a promise from him.
The German garrison surrendered Görgény (Gurghiu) to Apafi and the Sublime Porte released part of the sum to be paid by him.
The German garrison at Kolozsvár continued to resist.
Kuchuk Mehmed laid siege to the town and Apafi was forced to join the Ottomans.
Apafi wanted to expel the German mercenaries from this important Transylvanian town, but he also wanted to prevent the Ottoman troops from entering Kolozsvár, fearing that they would not abandon it.
He started sending letters to Leopold I, asking him to command the garrison to surrender to him.
Leopold I did not grant his request, but a truce was signed and Kuchuk Mehmed abandoned the siege on 15 June.

For Hussain, Pasha of Várad, made further raids against the region of Kolozsvár, the Diet sent envoys to Istanbul, requesting the Sultan's intervention against the Pasha.
The Diet granted a general amnesty to Kemény's former supporters on 22 February 1663.
One of them, Dénes Bánffy, was appointed to be the military commander of the Transylvanian troops.
Mehmed IV declared war on the Habsburg Empire in April and charged Fazıl Ahmed with the command of the new military campaign.
The Grand Vizier informed Apafi that he was determined to transform Royal Hungary into a tributary state and ordered him to join the campaign.
Apafi did not dare to resist Fazıl Ahmed's command, but he sent words to the Palatine (or viceroy) of Hungary, Ferenc Wesselényi, about the Ottomans' plans and deferred his departure.
Kuchuk Mehmed left Transylvania to join the Grand Vizier's army in August, but Apafi departed for the campaign only after Fazıl Ahmed had threatened him of a new Tatar invasion of Transylvania.
By the time he reached the Grand Vizier's camp at Érsekújvár (Nové Zámky, Slovakia) in October, the Ottomans had already captured the town.
On Fazıl Ahmed's order, Apafi called on the Hungarian nobility to yield to the Ottomans, but his manifesto remained unnoticed.
Before leaving Érsekújvár to winter at Belgrade late in October, the Grand Vizier allowed Apafi to return to Transylvania.

The German mercenaries who were stationed at Székelyhíd (Săcueni) and Kolozsvár had not received their salaries for month.
They mutinied and surrendered the two fortresses to Apafi early in 1664.
Apafi intensified his diplomatic activities, seeking the Protestant monarchs' protection for Transylvania.
He had already approached Lord Winchilsea, the English ambassador at Istanbul.
In 1664, he sent letters directly to King Charles II of England.
He also entered into correspondence with the head of the French diplomacy, Hugues de Lionne.
Leopold I listed Apafi among his potential allies in an anti-Ottoman coalition and Apafi started negotiations with Grigore I Ghica, Prince of Wallachia, about Wallachia's joining the anti-Ottoman alliance.

Fazıl Ahmed resumed his military campaign against the Habsburg Empire in May, but Montecuccoli inflicted a defeat on the Ottoman troops in the Battle of Saint Gotthard on 1 August 1664.
Despite the victory, Leopold I did not want to risk a lengthy war against the Ottoman Empire and his deputies signed the Peace of Vasvár on 10 August.
The peace treaty confirmed the Ottomans' territorial gains in return for a 22-year truce and Leopold I formally recognized Apafi's rule in Transylvania.
The peace treaty also ordered the destruction of the westernmost Transylvanian fort, Székelyhíd.
Kemény's death consolidated Apafi's position. Transylvanian noblemen hurried to pay homage to him. He did not dismiss Kemény's chancellor, János Bethlen, and made Gábor Haller his treasurer. Although Kemény's staunchest partisans sought Leopold I's support, their envoys could not exact a promise from him. The German garrison surrendered Görgény (Gurghiu) to Apafi and the Sublime Porte released part of the sum to be paid by him. The German garrison at Kolozsvár continued to resist. Kuchuk Mehmed laid siege to the town and Apafi was forced to join the Ottomans. Apafi wanted to expel the German mercenaries from this important Transylvanian town, but he also wanted to prevent the Ottoman troops from entering Kolozsvár, fearing that they would not abandon it. He started sending letters to Leopold I, asking him to command the garrison to surrender to him. Leopold I did not grant his request, but a truce was signed and Kuchuk Mehmed abandoned the siege on 15 June. 
For Hussain, Pasha of Várad, made further raids against the region of Kolozsvár, the Diet sent envoys to Istanbul, requesting the Sultan's intervention against the Pasha. The Diet granted a general amnesty to Kemény's former supporters on 22 February 1663. One of them, Dénes Bánffy, was appointed to be the military commander of the Transylvanian troops. Mehmed IV declared war on the Habsburg Empire in April and charged Fazıl Ahmed with the command of the new military campaign. The Grand Vizier informed Apafi that he was determined to transform Royal Hungary into a tributary state and ordered him to join the campaign. Apafi did not dare to resist Fazıl Ahmed's command, but he sent words to the Palatine (or viceroy) of Hungary, Ferenc Wesselényi, about the Ottomans' plans and deferred his departure. Kuchuk Mehmed left Transylvania to join the Grand Vizier's army in August, but Apafi departed for the campaign only after Fazıl Ahmed had threatened him of a new Tatar invasion of Transylvania. By the time he reached the Grand Vizier's camp at Érsekújvár (Nové Zámky, Slovakia) in October, the Ottomans had already captured the town. On Fazıl Ahmed's order, Apafi called on the Hungarian nobility to yield to the Ottomans, but his manifesto remained unnoticed. Before leaving Érsekújvár to winter at Belgrade late in October, the Grand Vizier allowed Apafi to return to Transylvania.
The German mercenaries who were stationed at Székelyhíd (Săcueni) and Kolozsvár had not received their salaries for month. They mutinied and surrendered the two fortresses to Apafi early in 1664. Apafi intensified his diplomatic activities, seeking the Protestant monarchs' protection for Transylvania. He had already approached Lord Winchilsea, the English ambassador at Istanbul. In 1664, he sent letters directly to King Charles II of England. He also entered into correspondence with the head of the French diplomacy, Hugues de Lionne. Leopold I listed Apafi among his potential allies in an anti-Ottoman coalition and Apafi started negotiations with Grigore I Ghica, Prince of Wallachia, about Wallachia's joining the anti-Ottoman alliance.
Fazıl Ahmed resumed his military campaign against the Habsburg Empire in May, but Montecuccoli inflicted a defeat on the Ottoman troops in the Battle of Saint Gotthard on 1 August 1664. Despite the victory, Leopold I did not want to risk a lengthy war against the Ottoman Empire and his deputies signed the Peace of Vasvár on 10 August. The peace treaty confirmed the Ottomans' territorial gains in return for a 22-year truce and Leopold I formally recognized Apafi's rule in Transylvania. The peace treaty also ordered the destruction of the westernmost Transylvanian fort, Székelyhíd.
Michael I Apafi