Hi and welcome! You say ‘he’ and 7 months old, but those two statements don’t match what I see in your pic. Either you have about a 3 month old boy or you have a girl. At 7 months old, a boy will be showing his bars and colors, especially when asleep. His casque would also be close to adult size. There’s a super easy way to check gender. Boys have tarsal spurs…little nubs that stick out from their back feet (see pic below) and girls don’t.
This is my little boy when he was about 4 months old. You can see he has his bars and his casque is just A tad bigger than an adult female’s would be.
View attachment 311334
Now, I’ll get back to gender again in a bit. Yes, it is true that when they have reached just excessive levels of stress, they shut down completely. I’m not so sure that is what happened in your cham’s case though. I’m thinking it was just bedtime and your sweetie was tired. Handling too much does stress them out and shouldn’t be done close to bedtime unless absolutely needed. Mine all start heading to their sleeping spots an hour or two before and just get themselves settled in before lights out.
There can be more serious reasons for a cham to close it’s eyes during lights on and is a sign of illness. I know you’ve done your research, but since there’s so much misinformation out there, I want you to do more. The most accurate and up to date info on all things chameleon is
https://chameleonacademy.com/chameleon-husbandry-program-getting-started-with-chameleons/ and do make sure to read species specific info.
Back to gender. All veiled girls, whether mated or not will lay eggs. You need to have perfect husbandry to avoid any complications with the process and need to provide a lay bin at all times. There are signs as they cycle. Getting their colors and patterns bright and being restless is receptive cycle…all dressed up and looking for a boy. Anytime a few weeks after that they may start looking lumpy, color/pattern changes, change in appetite, etc which is signs they are producing eggs and getting ready to laying. Here’s a graphic on they lay bin and check out this blog on it too.
https://www.chameleonforums.com/blogs/egg-laying-and-the-laying-bin.345/ Also, after their first clutch, we try to reduce egg production and laying thru lower basking temps and reduced feeding as laying shortens their lives considerably. Here’s a great article about it.
http://raisingkittytheveiledchameleon.blogspot.com/2007/12/keeping-female-veiled.html
If you have any questions about anything, just ask.
View attachment 311335