If I remember that case correctly, Sherman Pitt was diagnosed as being highly claustrophobic, with several other mental disorders as well.  He had acted up and was placed in the hole ... where he simply went bonkers, and thereby prolonged his stay in the hole ... and went even more bonkers.