The postictal state is the altered state of consciousness after an epileptic seizure. It usually lasts between 5 and 30 minutes, but sometimes longer in the case of larger or more severe seizures, and is characterized by drowsiness, confusion, nausea, hypertension, headache or migraine, and other disorienting symptoms. Additionally, emergence from this period is often accompanied by amnesia or other memory defects. It is during this period that the brain recovers from the trauma of the seizure.
Read article on Wikipedia