There are a lot of ways to stop this, but sometimes you can't. Before it vanishes completely, try rubbing your hands or spinning. These help lucids come back most of the time. But when you awaken, it might be a false awakening, so IMMEDIATELY do a reality check.