After successfully crossing the Suez Canal and penetrating into the Sinai Desert, the Egyptian Army was eventualy cut off from its supplies by Maj. Gen. Ariel Sharon, who had crossed overto the West side of the Canal and was marching down the West Bank of the Canal. Had the war continued a few more days, the Egyptian Army would have been forced to surrender and their would have been a great debacle. At this point the Soviet Union stepped in and threatened military action against Israel if Israel continued its conquering march in Egypt and its penetration deep into Syria. So Israel, as usual, was forced to compluy eith the Security Council decision calling for an end to the war. This enabled the Egyptians up to today to celebrate their great "victory".
Shaffir to Herzog: Opposition failed to show leadership in political battles against PM (Haaretz)
from the article: 44 dead as divided Egypt marks 40th anniversary of Yom Kippur War