 The Cossacks fought for two weeks before running out of food and water.After two weeks of siege, there was unrest as the Cossacks began to run out of food and water.Loboda was murdered, and on 7 July 1596 Nalyvaiko was handed over by the Cossacks to the Poles as a condition of surrender in exchange for their own lives, but the agreement was not kept, and Cossacks were attacked by the Poles immediately after Nalivaiko's surrender.