No, most likely it will produce energy with reversed polarity. But almost certainly with less efficiently. Did you ever try skiing with the skis pointing backwards ? It is barely possible
Maybe if you placed the generator next to a working cold fusion reactor and a piece metal (that wasn't bolted down properly) flies off the generator and smashes into the cold fusion reactor. Cheers!