The deserting soldiers in retreat from advancing rebels entered the city along with fleeing refugees and grabbed private cars as well as taxis and motorbikes as they tried to leave the city by another route .