Hope this helps:
"Some of the factors that negatively affect an individual animal’s ability to respond to vaccination include interference from maternally derived antibodies (MDA), congenital or acquired immunodeficiency, concurrent disease or infection, inadequate nutrition, immunosuppressive medications, chronic stress and an aging immune response."https://journals.sagepub.com/doi/pdf/10.1177/1098612X13500429
Zoetis (vaccine manufacturer) also states: "Vaccinating a sick animal is not going to help and in fact is not advised. A healthy pet and healthy immune system is required in order to build these protective antibodies in response to a vaccine."
The situation you describe is actually a challenging one, as there doesn't appear to be a lot of definitive "evidence" to support an always vaccinate vs. an absolutely don't vaccinate position. I think common sense needs must prevail, as it appears that vaccinating a sick animal may very well compromise the efficacy of the vaccine.
#CommunityCatManagement