The answer is "sleep terror".
Sleep terrors refers to an episodes of shouting, extraordinary dread and thrashing while still sleeping. Otherwise called night fear, rest dread regularly are matched with sleepwalking. Like sleepwalking, rest dread are viewed as a parasomnia, an undesired event amid rest.