Wikipedia says:
On 4 July 1902 (the day of his death) Vivekananda awoke early, went to the monastery at Belur Math and meditated for three hours. He taught Shukla-Yajur-Veda, Sanskrit grammar and the philosophy of yoga to pupils, later discussing with colleagues a planned Vedic college in the Ramakrishna Math. At 7:00 p.m. Vivekananda went to his room, asking not to be disturbed; he died at 9:20 p.m. while meditating.
According to his disciples, Vivekananda attained mahasamādhi; the rupture of a blood vessel in his brain was reported as a possible cause of death. His disciples believed that the rupture was due to his brahmarandhra (an opening in the crown of his head) being pierced when he attained mahasamādhi.
This article however says:
The fateful evening of July 4, 1902, Vivekananda passed away following a third heart attack, completing 39 years, five months and 24 days.
I don't understand how one can one plan a heart attack on oneself. Is this possible through yoga?
Did Vivekananda have a history of heart problems?
Why do we have two different accounts of Vivekananda's death? What's the true story?