Around late August or early September , Wiśniowiecki met with the army regimentarzed Władysław Dominik Zasławski @-@ Ostrogski , Mikołaj Ostroróg and Aleksander Koniecpolski . He was not on overly friendly terms with them , as he resented being passed in military nominations , but after short negotiations he agreed to follow their orders , and thus reduced to a junior commander status which had little impact over the next phase of the campaign . On 23 September , their forces was , however , defeated at the Battle of Pyliavtsi ; near the end of the battle some accounts suggest Wiśniowiecki was offered the hetman 's position , but refused . On 28 September in Lviv , Wiśniowiecki , with popular support , was given a field regimentarz nomination ; about a week later this nomination was confirmed by the Sejm . To the anger of Lviv 's townfolk , he decided to focus on retreating towards the key fortress in Zamość instead of Lviv ; he would leave garrisons on both towns , and keep his army in the field . In the end , the cities was not captured by the Cossacks , who in the light of the coming winter decided to retreat , after being paid a ransom by both town councils ; no other large field battle toke place that year .