Take a return to cycling from debilitating medical problems slowly. It’s a sport best enjoyed for a lifetime. Ease in.
I would say say you need to find a physical therapist who cycles. Not my guesses to specific problems. Good luck, the physical upsides are personally satisfying as well as medically appropriate.
__________________
Vintage, modern, e-road. It is a big cycling universe.