FWIW- When Ry was getting in and out it was really mentally distressing me and making me very angry/anxious. One day I could not take the anger building in my chest. So I went in sat on the edge of his bed and cradled him like I used to as a baby and just rocked and hummed to him. I did it for quite a bit, maybe even 15min
but he relaxed and I asked him are you ready to sleep now and he said "Ba-bye" which is code for him telling me goodnight (he can say goodnight but chooses be-bye...weird kid)
He laid down and fell asleep easy as pie! Since then, if he is getting in/out we either sit next to his bed until I can feel him calm down or if he is really wound up I sit in his room and he runs in/out like 15times. Kind of like getting the last burst of energy out. But I don't get worked up I just sit in his room and when he runs in I say "time for night nights" and bc I am not chasing him the game ends pretty quickly. I also am not getting to the point of yelling so he stays fairly calm.
I do tell him at some point, "mommy is getting angry, it is time for bed" He is just getting to the oint of understanding emotion and he is always concerned if "mommy happy?" so that works for us right now.
It was my Ped that suggested sitting with him until he got sleepier and I ignored it at first bc it seemed like I was going backward with sleep training, but honestly I don't have to do that much at all anymore. I kind of felt like it was more like GW
HTH