Photons in a nonlinear cavity perform “negative” work on a mechanical oscillator, cooling it toward its ground state.