Why Muammar al-Gaddafi was forced to leave power?

Muammar al-Gaddafi was forced out of power in the Arab Spring because the protesters saw his regime as corrupt and authoritarian.

He's dead. That would effectually prevent him from having power over any country, including Libya.