The Battle of Rashid was a severe defeat to the British Army. The British casualties amounted to 185 dead, 282 wounded, and 120 captives at Rashid’s garrison. General Fraser, the leader of the campaign, wanted to erase the impact of his defeat in that battle. He intended to equip another army that resumed marching towards Rashid and pledged to lead it to General Stuart. Meanwhile, Muhammad Ali Pasha arrived in Cairo, returning from Upper Egypt, and he reached it on the night of April 12, 1807 (3 Safar in 1222 AH). He was briefed on the news received about the defeat of the British in Rashid, so he was reassured by a little but did not depend on what happened on that battle and saw with insight that the British may resume their march to Rashid given the fact that it was not heavily defended, so he mobilized an army to fight them and prevent them from any progress, and his men completed the fortifying works that began with him before his presence, and he continued working in digging trenches between Bab Al-Hadid and Bulaq to establish a defense line from Cairo from the north and cutting grooves in front of the trenches connected to the Nile to fill With water and obstructed the progress of the British army, and scuttled several boats between the island of Bulaq and the beach to prevent the passage of British ships in the Nile if they came from Rashid, and the installation of cannons in Shubra and Imbaba and the island of Bulaq, and the scholars and local people participated in work with them.