End of an innings
In cricket, a team's innings ends in one of the following ways. In cases 1 and 2, the team are said to be all out, because they do not have two players available to bat.
- All but one of the batsmen are out.
 - The batting side only has one not-out batsman who is still able to bat (the others are incapacitated through injury, illness or absence; see retirement).
 - The team batting last scores the required number of runs to win.
 - The game runs out of time for either side to win, and so finishes as a draw.
 - The set number of overs (sets of 6 deliveries) have been bowled (in limited overs cricket).
 - The team's captain declares the innings closed.
 - The Match Referee decides that one team has forfeited the game.
 
Law 13 covers the end of the innings.