I imagine the good Captain would remember the opening lines of his favorite song...
and then smile.
You know now that you mention it, they had a camera showing them in the capule when they first experienced weightlessness and Shatner did kind of look back over his shoulder at the camera and gave an odd little smile.