It prevents multiple circuit breaker closure.
If the close command remains in the pressed condition,there is a chance of the breaker closing again and being tripped by the relay multiple times. This can damage the closing mechanism of the breaker.
Anti-pumping relay prevents this by ensuring that the breaker closes only once for one close command from the control panel.