the answer seemed to be the effects of Palpatine's Force lightning, which electrocuted him as he attempted to use it against Mace Windu. However, inconsistencies in Star Wars movies and TV shows ...
So if they can make a comeback, why can’t Mace ... Star Wars, lately. If Emperor Palpatine can survive being thrown down a shaft of the Death Star II (and hit with his own Force lightning), then ...