Although the Muslim army had the best of the early encounters, indiscipline on the part of tactically placed archers led to a tactical defeat for the Muslim army, with 75 Muslims killed. However, the Meccans failed to achieve their goal of destroying the Muslims completely. The Meccans did not occupy the town and withdrew to Mecca, since they were unable to attack Muhammad's position again, owing to military losses, low morale and the possibility of Muslim resistance in the town.
This passage describes a battle between Muslims and Meccans where initial Muslim success was followed by a tactical defeat due to archer discipline issues. The Meccans retreated after failing to destroy the Muslims completely and were unable to attack again due to losses, low morale, and potential future resistance from the Muslims.