Who knows if it was stupid or not. There are "intangibles" involved. The best doctors know that.Probably a stupid move, but while playing I felt very well.
BTW - I don't mean to say you should be ignoring all the good medical and other sorts of advice you're getting. I'm just saying that even if sometimes you can't get out and gig or some doctor says playing is hurting you, IMO you should never stop playing and working on your music - as a musician that will hurt you in ways that can't necessarily be clearly described or proved.