I was thinking:

If a parent is trying to put his child to sleep and the child is refusing, wouldn’t it be illegal because technically the child is resisting a rest?

But then I realized it’s a lose-lose situation and it’s illegal either way because if the child willingly goes to sleep it makes it a kid napping.