An electric motor converts electrical energy to potential energy?

An electric motor converts electrical energy to KINETIC energy: it makes something move.