Has anyone else suffered a foot/leg injury?

Options
3 weeks ago I dislocated my ankle and broke a bone in my lower leg. I have had a couple of surgeries and told to elevate it, and ordered bed rest until now. I was finally starting to reach my exercise goals and was at the end of a 12 Week Transformation Program. Has anyone else had any injuries that have hindered their exercise journey? How did you stay motivated? What were your experiences? I've tried really hard to stay on top of my diet, am going to start upper body strength training and wanted some insight on how others dealt with the situation.