Stopping particles of arbitrary velocities with an accelerated wall