I got the pneumonia shot and got pneumonia a year later lol. Course it might been less deadly as a result, I don’t know, but wow was I sick. Several days in hospital. Coincidence I know, but a still.
There are different types of pneumonia:
https://www.ncbi.nlm.nih.gov/books/NBK525768/