A generator is turned off after being run.