In the Evillious vocaloid Servant of Evil, Allen pulls an Identical Twin Switcharoo to save his sister and queen from execution, stoically going to his death at the guillotine.
"The Wind" by Warren Zevon qualifies. He recorded it while dying from inoperable lung cancer and it was released two weeks before his death. The personnel listing is a who's who of guest artists honoring their friend, including Bruce Springsteen, Billy Bob Thorton, Emmy Lou Harris, Joe Walsh, Don Henley, Dwight Yoakam, and Tom Petty.
"Big Bad John" by Jimmy Dean tells the story of a giant of a man who saves his fellow miners from a cave-in by holding up a sagging support timber long enough for the twenty other miners to escape. The mine collapses before the others can go back in to save him.
Now, they never reopened that worthless pit; They just placed a marble stand in front of it. These few words were written on that stand: "At the bottom of this mine lies a big big man. Big John."
A funny one: The swan song of Carmina Burana. A literal swan song - the swan is just being roasted for dinner and woes his fate.
Manowar, being a glorification (or Affectionate Parody) of masculinity has some, in particular these lyrics from "The Sons of Odin"
One day too, I may fall
I will enter Odin's hall
I will die, sword in hand
My name and my deeds
Will scorch the land
Queen's last song, "The Show Must Go On", is about Freddie Mercury facing death with dignity. When Brian May presented the demo to Freddie, he had doubts that the latter would be able to sing due to his illness the time. When the time came to record the vocals, Mercury drank a measure of vodka and said "I'll fucking do it, darling!", then recorded it in one take.
After lead singer Gord Downie was diagnosed with terminal brain cancer, Canadian rock icons The Tragically Hip went on a farewell tour in Summer 2016, culminating on an August 20 show with the prime minister in attendance. The three-hour show had the band play 30 songs alongside three encores, and was seen by 11 million people worldwide.
Similarly to what would become of David Bowie roughly a decade later, J Dilla was dying of lupus and confined to a hospital bed in 2005. While there, he produced Donuts, what many consider his masterpiece. He released it on his 32nd birthday, February 7, 2006, and died just three days later on February 10.