Can facing the sun with eyes closed damage vision?

No. The risk of staring at the sun is with the open eyes as the light could be focused on the retina and damage the light receptors. It is annoying to have the sun shining for a lengthy period on the eyes, and that is why those sun shields which look like two cups held together with a connecting rod are so popular on the beach.