Yikes! I've had that happen, though not in a long time and I certainly wasn't clipped in! Good job not eating it!
Just yesterday my shoe managed to get sucked up by rear wheel and it got wedged in between the wheel and the seat stay while I was riding. I have no idea how it happened, but it locked up the rear wheel and when I tried to pull my shoe out, the shoe stayed and my foot didn't. I managed to maintain control of the bike, but I must have looked kind of silly standing in the road trying to get my shoe un-wedged. I bent a couple of spokes and the wheel will need to be trued now.