Hello Pepto:
For some reason I cannot comprehend, many of us are quite literally insane in this regard. If a medical professional has told you to STOP... then S-T-O-P.

Pnumonia can become far, far worse than it already is if you fail to heed the sane advice!
Stop training, get well, return to training... in THAT order only! "...Dead but not intimidated..." makes a miserable & foolish motto! If you must train, then open a book and read. If you must train, write down your questions and do not stop until you have several pages of questions. If you must train then do some research into something that is of real personal interest and passion.
Do not physically train... that would be dumb with serious helpings of dangerously foolish! Once you are better fine then feel free... until then leave the physical alone!
J