why do seizures end and last only a short time?

Why do the symptoms of epilepsy go away after only a short period of time?