Mao Zedong died of a heart attack, still in power.
It is not certain how Stalin died, but assassination was alluded to. This, after 12 years of rule and 30 of being the head of his party... pretty decent run, I'd say.
Those were the guys on top. The monsters. The ones who helped them get there didn’t fare too well, did they?