What you describe is very similar to what I learned in aikido. I frequently use the hand twist with the elevated elbow as one of my general arm stretches.
Do you think it was the rotation, or the kneeling on your shoulder that did it? I guess both could be beneficial.