If your cat is facing end-of-life issues, please consider honoring the friendship he/she has given you by compassionate euthanasia.
The SPCA for Monterey County is one resource for compassionate euthanasia services. Local veterinary offices also offer this to pet guardians. There are fees involved.