The French withdrawal left a power vacuum in the Ottoman Egypt.
Mamluk power had been weakened, but not destroyed, and Ottoman forces clashed with the Mamluks for power.
During this period of anarchy Muhammad Ali used his loyal Albanian troops to play both sides, gaining power and prestige for himself.
But this time Ottoman Empire may be much stronger than OTL.İn 1803 Newly created an army with Prussian advisors after the six years 1797,also generally in peace than OTL ,in ATL.
Sultan Mahmud II Khan may be ordered to Asakir-i Nizamiye for centralization of Egypt after French withdrawal in 1803.Also this Muhammad Ali have not powerful in Egypt on 1803.
Character of Sultan Mahmud II Khan much stronger than Sultan Selim III Khan and may be more succesful.I think Sultan Mahmud II Khan is second reformer after the Mustafa Kemal Atatürk in Turkish History.
Debt is not a problem for Ottoman Empire I think.Still huge Empire this time;Syria,Iraq.Balkans,Anatiolia and small countries.Also Sultan may be create trade monopolies,also gains of centralization in ATL.
Time problem is serious but long time period Mahmud's rule in ATL solve a lots problems in OTL.