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.
Walk-off home run In baseball, a walk-off home run is a home run that ends the game. It must be a home run that gives the home team the lead (and consequently, the win) in the bottom of the final inning of the game. Thus the losing team (the visiting team) must then "walk off" the field immediately afterward, rather than finishing the inning. The winning runs must still be counted at home plate. This scenario can only occur if the visiting team is tied or leading after the top half of the inning.