I think it was an heart attack. Earlier he had this pain in his chest. Therefore he wrote his memories/diary. Nothing mysterious. He died of old age.