If you run a turbine in space would it generate infinite energy?

Because there’s no wind resistance or anything like would it just keep going and making power?
11 answers 11