John got the hell out of there. He didn’t actually know that Sam was cursed and with them until probably about a half hour into the drive. He thought that the witch had taken his youngest and was gunning for his eldest. His first thought was getting Dean the hell out of that motel and out of her reach.
Dean managed to pull himself together enough to reveal what he had cupped between his hands. Poor Sam was downsized to two and a half inches. They ended up on the side of the road when John was too shocked to keep driving.
With Sam unconscious and no way for them to wake him, they drove to Bobby’s. Dean refused to leave Sam’s side. While John and Bobby were desperately searching for a cure or a curse reversal, he was there with his brother in his hands, watching over him.
When Sam woke up a week later, he and Dean were in their own room at Bobby’s, but his bed was now too big. So Dean kept him on his chest to sleep, where he could make sure Sam was safe the entire time.