Training to gain the shape that you have always wanted makes for an intensive regime of hard work and effort. You can never be in too good of a shape, so it is important to maintain a quality training regime, and it’s the word “quality” that is important. Quality wins out over quantity, every time. The key here is that if you get injured, you do not dwell on how it is keeping you from training. You have to accept that training must wait for a time when you can do it effectively, and in the mean time find something else to do.
If you are sitting about getting wound up about how you want to get back in the gym, then you will not be effective when you get back in there. All that will happen is you will take the first sign of recovery as a green light to get back in the gym and the training you will do once there will be a great deal less effective than it would be under normal circumstances. Efficiency and quality are the watchwords, remember. As much as you may want to get back in the game, realise that there is little point in training at half of your potential.
Find another way to fill your time – it doesn’t really matter what that is. It could be something slow paced like gardening, or anything else. Something that keeps your mind occupied is the key. If you are left idle, your mind will wander right back to the gym – and you will follow it there, which will not help.