Edgar Allan Poe, The author, poet, editor, and literary critic, died in 1849 at age 40 in Maryland. He was chronically depressed, he had even tried to commit suicide using laudanum a year before his death.
But when he went to the hospital for the last time, having been found delirious and wearing a stranger's clothes, he hadn't been committing suicide, according to
a heuristic look at his writing.