My 2 1/2 year old dd has learned to tell people to leave her alone. Sometimes, I think it's appropriate when her brother is bother her, but not so appropriate when she is mad at us.
I try to correct her, but she's still at that age when things go a bit over her head. I don't know if I should start punishing with TO or if I should just see it as a new skill of hers, even though it's not the most polite?