Beat the bat

When a batsman narrowly avoids touching the ball with the edge of his bat, through good fortune rather than skill. Considered a moral victory for the bowler. The batsman is said to have been beaten. In some cases, this may be expanded to "beaten all ends up"