Hardly. Keeping your apps and operating system updated is one of the more reliable prophylaxis against vulnerabilities.
Unless I'm misunderstanding "turn it off and on again" suggest a kind of pointless, "just start over and try again" kind of suggestion, no?