On the nonlinear mechanics of magnetohydrodynamic stability