I am all too familiar with both: post-infectious chicken pox encephalitis as a child, and, decades later, shingles and years of post-herpetic neuralgia.
I can relate on the shingles. They suck.