They died the way rhey wanted to at an old age. Percy was happy for he had died without being killed by a monster, just peacefully sleeping in the bed and passing away with his beloved Annabeth but fates played a new joke on him and his new journey began.