I've had some layoffs in cycling upto a year or so. It took me around 3 months to gain 95% of my fitness back. Now nearing 60 I don't ever want to lose my cycling fitness. I predominantly cycle indoors using Zwift. I find it super convenient, easy to do in winter