摇尾巴 しっぽを振る 尻尾を振る
When an animal or a person moves their tail back and forth, such as to signal a warning or to display emotions. Note that dogs wag their tails when they're happy, and cats wag their tails when they're angry.