There could still be usable parts in this motor.
First of all, you can disassemble this motor further. Take a look at the hi-res pictures of V5 motor internals: Pictures of Internals of V5 components
You need to unscrew a couple of more small screws and then remove backplate to get access to motor mounting screws. Once you unscrew them you can disconnect the motor from PCB.
There could be several issues with v5 motors - broken brushes (of the brushed internal motor), overheated and burned out h-bridge chip on PCB, or a smart port burned by static electricity.
If the problem is is with the motor and not the PCB, then you can put it in the spare parts bin and later reuse it by swapping out a PCB zapped by ESD.
If you shake the motor and hear a rattling sounds inside it - then there is definitely a mechanical issue with that motor. Take a look here: Broken V5 Motor... Again - #5 by jack202020
You should definitely swap this motor with another working one and see if ether motor or PCB still work.

