this is umpire judgement as to how unsportsmanlike the conduct is or if it just inappropriate grip on the bat. If the bat doesn’t hit anybody then the batter is fine. however, if the batter is following through and hits players in the dugout or the catcher, he should be warned and upon second violation, be ejected from the game.