the soldiers that had been guarding the town were beginning to regroup as they prepared to launch an attack from the back , but the fire had cut off any chance the soldier 's would have of escaping or trying to lay a trap for them if they were forced to retreat .