Ouch! Hate it when that happens!
Happened to me once, had to go about 15 miles to get home. Just a lot of "planning ahead" for stops. I could get it into neutral as I was coasting up to a stop, then "duck-paddle" enough to stomp it into first and keep going.
Nerve wracking at first, but by the end, I was just laughing in my helmet at the stupidity of the whole situation!
Good luck with it!
Kirk