Excitation and damping of a self-modulated laser wakefield