Rotational stabilization and destabilization of an optical cavity