Ours are on a timer. They go off at midnight.
I always unplug the tree, and all other holiday lights around archways, etc. before we go to bed. And unplug them if we go out for the evening too. I wouldn't feel comfortable at all leaving them plugged in when no one is around.