Energy storage motor in power distribution cabinet