Sleep marks passing time, giving us distance from the things that have hurt us. When a person is wounded they will often fall unconscious. Similarly, someone who hears traumatic news will often swoon or faint. This is the mind's way of protecting itself from pain.
The Name of the Wind: The Kingkiller Chonicle: (ed. Hachette UK, 2010) - ISBN: 9780575087057