I recently had surgery and was not, per Doctors orders, to ride on the road, but I could ride the trainer.
I was riding the trainer when my wife went shopping.
While she was gone, I went for a ride. I got home before she did (only by several minutes), and put the bike back on the trainer.