Ascetics and monks voluntarily secluded themselves to holes in a remote mountain. When put in that perspective, solitary confinement may not be that bad, and even pleasurable for some. What is there to life anyway? It’s all in your mind.
Sure, but if you were to find yourself in that situation, what can you really do? The best thing you can do is accept it and make yourself desire it and find pleasure in it. The alternative is a life of pain and sorrow. Your fate has been decided, now it’s your choice what to make of it.