There is always the difficulty when you are at the end of your life and living with a cat as to how to ensure that your cat is properly cared for on your passing. Most people probably request that a relative takes care of their cat on their death. The problem is that you have to make sure that the chosen person is suitable both in terms of attitude, lifestyle, partner, property and any other aspect that you can think of. It is complicated but it is probably best to avoid your cat going to a shelter where there is the possibility that he or she might be euthanised if they are elderly to.
Useful tag. Click to see the articles: Cat behavior
Note: sources for news articles are carefully selected but the news is often not independently verified.