I disagree, they tried to down her dragon, you can't surrender half way through a battle in a siege. I really can't stand her btw but very very rarely a city is not completely destroyed and enslaved after it falls. And the Machiavellian aspect was to set the example and be feared.
Also it was obvious that battle was lost. Scorpions were gone, and soldiers already surrendered.
