Does shutting the eyelids close the eye sense gate?
No. It is still open even with the lids shut.
You can try it for yourself.
Shut the lids.
You can still see with your eyes – a big patch of blackness.
The eyes are still sensing; the sense gate is still open.
Our outer sense gates close usually when we are falling asleep or in a deep meditation.
This is normally when dreaming or hallucination starts.