Series shunt and compound DC motors will not reverse when line leads reversed. You must reverse the armature or field to reverse the motor.

You will reverse perm magnet by reversing line leads.

Dan Bentler