Shoulder surgery coming up

I’ve been working so hard the last two years to get in shape. Since I retired in April I’ve been working out with FB 6 times a week. (3-4 before I retired). Anyway I’m having shoulder surgery in November and I’m so worried about losing everything I’ve worked for. Dr says right arm will be immobile for up to 6 weeks. Has anyone else gone through this and can offer me advice or support ? 😢 pick of me with my granddaughter.