Q decides that if he lies back in the sand it will take ages to get it all out of his hair, so he opts to stretch out with his head against John's stomach. Which is quite comfortable, really.
"I got my doctorate at 23. That's about the most interesting thing about me." Or rather, the most interesting thing he's allowed to tell.