Seizures caused by brain surgery or a head injury: This is when there are brief losses of awareness, or loss of consciousness or violent convulsions that are caused by brain surgery or a head injury.