Severus Snape was not in pain anymore. Crouched on the floor, he heard her sweet whisper, "Sev, come to me. I love you. I love only you. We'll be together forever like this." It was torture. Snape was going insane.
Of course, how Ginny had ended up here, wasn't exactly the pressing question but rather how she was going to get out again. Yet, in those moments when the world around you seems covered in dark curtains, the problem-solving rationality is generally not in its best state.