A botched attempt to rob an armoured vehicle set off the day-long standoff, during which negotiators had already secured the release of 10 captives.