Was that sleep paralysis? If not, it was probably a hypnagogic jerk, which sometimes happens when you get very relaxed.

The first time I WILDed... I woke up in a different bed, and this immediately tipped me off that I successfully managed to get past SP. I spent the dream exploring and trying to fly, which didn't work, but I got the hang of it in lucid dreams after that.