Dynamical self-friction: how mass loss slows you down