 Regnier and the vanguard quickly arrived before Arish, captured it, destroyed part of the garrison and forced the rest to take refuge in the castle.At the same time he caused Ibrahim's mamluks to flee and captured their camp.Bonaparte's French forces left Egypt on 5 February 1799 and, seven days after leaving Cairo, Bonaparte too arrived at Arish and bombarded one of the castle towers.