Great pain can be liberating. It can lead to the place where There is no mind, Where your sense of limits and boundaries Is dissolved, And there is a temporary sense of Freedom from the world.
I have heard that great joy does the same thing, But I wouldn't know.