A rotating machine including a rotating body connected to and driven by a drive unit via a drive shaft is protected by stopping rotation of the rotating body and drive shaft in response to a detected vibration amplitude exceeding a predetermined allowable value at two spaced time instants.