after the five-days-long shelling cracks and holes caused by the heavy artillery of the muscovites, the castle was extremely damaged and the  cesis castle was in serious danger along with the people in it. the townsmen of cēsis however decide not to give themself up but rather decided to blow themselves up with gunpowder.