When a pendulum's length changes slowly compared to its period (ε ≪ 1), the action J = ∮p dq ≈ E/ω is conserved. Energy changes but the ratio E/ω remains constant. This is the classical adiabatic theorem — a precursor to quantum adiabatic processes.