This doesn't work for me, at least not directly. However, I find that if I relax for a few moments and then make a full body effort to do a short-sharp shake of, well, everything, I can normally wake myself up. Trick then is to keep moving so I wake up fully and don't fall back into it :/
It's quite possible than I'm just twitching a finger or toe when I do that initial effort though :)
This is my trick too. I have to build up the mental energy and then absolutely lay into it. Like I'd be wildly flailing around if my body wasn't switched off. Then when I'm moving I have to try to stand, or I'm just going to get drawn back in. Most of the time I don't bother anymore and just allow myself to fall back asleep.
It's quite possible than I'm just twitching a finger or toe when I do that initial effort though :)