This when you dream of waking up. You will be fooled by it, and think you are really awake. If this happens to you frequently, then a good idea would be to reality check immediately when you wake up. This is a very reliable way to DILD (Dream Induced Lucid Dream) if one has frequent false awakenings.
DILD - Dream Induced Lucid Dream
HH - Hypnogogic Hallucinations
WILD - Wake Induced Lucid Dream