After recovering, Skrzetuski went to Zbarazh, where he bravely fought during the siege. After Podbipięta's death he decided to sneak through the Cossacks' camp and go to John Casimir to let him know that soldiers in Zbarazh needed reinforcements. He managed to fill his mission - the king went with his army to Zbarazh and soon the treaty was signed.