Usually you'll know what caused your head shake but it sounds as though there wasn't any obvious cause. It's possible that there was a bump in the road that you didn't notice or maybe there was something on the road that caused the front to slip and then grip again. I'd be surprised if that caused it but I guess it's possible. If your bike is stock, you could have more than 50% of the bike's weight on the rear wheel. You might try raising the rear if your inseam will accommodate it.
Get your suspension adjusted to your weight and riding style, that's the first thing to do, then if you still have problems, try a steering damper.
Headshake isn't fun.
Get your suspension adjusted to your weight and riding style, that's the first thing to do, then if you still have problems, try a steering damper.
Headshake isn't fun.