Counterdiabatic control in the impulse regime