I had surgery about 6 years ago. I couldn't train in the gym for 5 days before it and 2 weeks after.
Best thing ever. I came back with no stress on me and started training lighter and slower, still to failure, easier movements to start. A week and a bit later I was ripped, as I was totally refreshed.