I agree with Darcy. Signing up for an event can be very motivating. Scares you into training, if nothing else.
Also, having a destination, whether it's a nearby town or an ice cream parlor, or a coffee shop....... just somewhere to go. It doesn't have to be far. Stick a small paperback in your pocket so you can read when you get there, if you don't want to sit alone with nothing to do.

Once you get out there again, I bet your desire to ride will come back.

Annie