claustrophilia (n.)
"morbid desire to be shut up in a confined space," 1884, from claustro-, abstracted from claustrophobia, + -philia.