Superconductivity in the cuprates is known to be intertwined with charge and spin density waves. Here, the authors study the prototypical cuprate La1.885Sr0.115CuO4 via x-ray scattering and discover a sudden increase in the charge-density-wave amplitude upon entering the superconducting-vortex-liquid state at high magnetic field.