The survivors ran away to the city of Aphek. The wall of the city fell on 27,000 of those soldiers. Ben-Hadad also ran away to the city and hid in a room.