I quite often find if it's doing that for me, quick tap left and right on my rudder pedals, then hit W gets me moving again. Shift-W doesn't really seem to work for me in that scenario sometimes, not sure why. My rudders have a fair bit of deadband in them, so I don't think accidental rudder input is the issue.
Wiley.