Pharaoh dying in the firstborn plague would lead to the immediate crowing that night of a new Pharaoh. This is further supported by the word “rose”: “And Pharaoh rose up in the night.”
Source: Jerusalem Post
Full Article: Was there a coup in Egypt during the biblical Exodus?