The French and the British were at war during this time called the French Revolutionary Wars. In September 2, 1801, the French were forced to surrendered after being surrounded and having food depleted. The French were allowed to go back to France with all their goods as long as they surrendered Alexandria.