Glad your surgery went well - welcome to the “other side” of it !
Sounds like good advice from Doc. You’ve made a huge investment (of energy & healing) in your body and your long term health, so isn’t it worth doing the right thing, even if it’s hard for a bit?
That said, I do know exactly what you mean, it’s really frustrating to have to take it easy. I could walk for up to an hour at about 3 months, but I couldn’t exercise on consecutive days without flutters until month 5. (Albeit I had open heart surgery & patch rather than device).
I posted elsewhere recently “it’s tougher than it looks, doing nothing!” But in retrospect, the “enforced rest” did me good (eg old calf & plantar fasciitis injuries fully calmed down). Also I understand myself better now! I’m clearly the kind of person who doesn’t stop, until something in life forces me to. And people like me do NEED to be stopped occasionally…! Counselling for a bit really helped me, with acceptance & realism.
I’m now finding planning a longer term goal helps. I’ve just gently started early training, for a 6-day, 100km desert trek, which will be done (hopefully!) on about my OHS 12 month anniversary. Great to look forward to, even tho I can only do about 7km currently, lol.
I hope it goes ok for you - rest & recovery are hard, but it’s a matter of months, out of a lifetime. Stick it out, you’ll get back to exercise when the time is right. Good luck.