What do you call it when a kid is fighting going to sleep?

Resisting a rest.