Only when they wanted to keep good records. Part of the mysteries of Egypt were caused by the Egyptians themselves.
In the case of Userkare, for example, it seems they went so far as to break into tombs and remove inscriptions that referred to him.
The Egyptians were very good at removing embarrassing little details, events and people from their records.
There is no reference to plagues bringing the empire to its knees, or any reference to an Egyptian army being swallowed up by the sea.
The empire never missed a beat.
Now, you can claim coverup, but that's not a very impressive excuse. You'll need to show evidence of the coverup.