The Catholic response is to keep the dying person as comfortable and pain-free as possible, and to accompany them with love and compassion all the way home to God.
Jesus was often misunderstood in the course of his public ministry, That’s why in our time it is so important to get the right answer to Jesus’ own question: “Who do you say I am?”