On and off means irresolute or wavering, so switching the torch back and forth is an example of this.
Consider the statement "The torch was switched back and forth twice.". Is the statement "The torch was switched on and off twice." false? Yes/no/unknown