The motor can be used as a generator. There are two types of DC motors. Is that correct? Permanent magnets can be used to create a generator. When electricity is passed through insulated wire it creates a magnetic field.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.