Blustery Reaction

Could dreaming explain why this mother woke up from REM sleep blustering forward as if disoriented before turning toward the den entrance? Does the fact that she immediately calmed down when she realized nothing was there suggest that she can separate bad dreams from reality?