Answer
$40,320$.
Work Step by Step
The number of ways of arranging $n$ distinct objects is $n!$.
If the pitcher is the last batter, then there are $8$ batters left fir the rest of the spots hence the number of batting orders is: $ 8! = 40,320$.