what happens when you bat out of order in mlb
Batting out of turn Occasionally, one or more batters may bat in the incorrect order. In Major League Baseball, this violates rule 6.01(a) of the Official Baseball Rules. Batting out of turn is ignored by rule unless a member of the defensive team notifies the umpire that an infraction has occurred. Once the umpire is notified, he enforces the rule based on the batting order he had received, which says that the batter is out.
At bat In baseball, an at bat (AB) or time at bat is a batter's turn batting against a pitcher. An at bat is different from a plate appearance. A batter is credited with a plate appearance regardless of what happens during his turn at bat. A batter is credited with an at bat only if that plate appearance does not have one of the results enumerated below. While at bats are used to calculate certain statistics, including batting average and slugging percentage, a player can qualify for the season-ending rankings in these categories only if he accumulates 502 plate appearances during the season.