You did the right thing I have a couple of orthopaedic surgeon friends. They only do the shots to get more money, they know it is a temporary fix. Surgery will put you out for a year minimum for full recovery. It sucks to stop doing certain lifts, but here is my other two cents.
You are probably doing it on something you are really good at and you do a lot. Just take a break for a few months, work on something that you do not do a lot of. Work on another weakness not getting a stronger lift better. Again just my free medical lifting advice.