In his final act Heracles resembles the phoenix, the animal representative of resurrection. Out of the flames of Heracles’ funeral pyre emerges a new body, which ascends immediately to heaven.
And now Hercules himself cut down the trees on high Oeta, and with their trunks made a great funeral pyre. He was aided by his friend Philoctetes, who lit the pyre and to whom, as a reward, Hercules gave the famous bow which later was to go to Troy. Now, at the point of death, with burnt and withered flesh, Hercules grew calm again. On top of the pyre he spread the skin of the Nemean lion. He rested his head on his club as on a pillow, and lay down among the flames with peaceful face, as if, after cups of fine wine and crowned with garlands, he were lying on a couch at a banquet.
The gods from heaven looked down and saw that the defender of the earth was dying. Even Juno at last pitied him, and to all the gods and goddesses Jupiter spoke: “Fear not. Hercules has conquered everything, and he will conquer those flames. Part of him is immortal, and, as an immortal, he will live with the gods for ever.”
So indeed it happened. As a snake changes its old skin, so Hercules, as the flames consumed his body, seemed to put on a new body, stronger, more heroic, more beautiful and more stately even than before. Thunder pealed, and through the hollow clouds, Jupiter sent his four-horsed chariot which bore him to Heaven, where he was welcomed among the shining stars and in the assembly of the gods.
(Rex Warner, The Stories of the Greeks, pp. 106-107.)