After the French occupation of Malta in 1798, Tousard left with Napoleon to the Egyptian campaign. After the capture of Alexandria, he was appointed deputy director of the fortifications, and was wounded during the Battle of Aboukir Bay on 2 August 1798.