What happens when you wake up suddenly from snoring in bed?

There are two kinds of sudden awakening from snoring in sleep, and the common cases are as follows: 1. One kind is the sudden appearance of breath-holding and breathing difficulty in the sleep state, causing sudden awakening, which is due to the obvious systemic hypoxia caused by the obstruction of the upper airway during snoring, which makes the patient wake up through the nerve reflex. 2. Another kind is the disease of sleep, including periodic leg movement, especially the restless leg syndrome before falling asleep, which can appear the whole body shaking and then 3. Another kind of twitching occurs all at once in normal sleep, which is related to the nerve reflexes in sleep and does not belong to the disease state.