Ok if the unit will not spin or pump the water out it is going to be something in the wiring, the timer, or the motor.
What is happening is the motor for some reason is not reversing and powering the pump and the transmission. When the unit is ready to pump and spin the controler (timer system) sends a signal that reverses the motor. If the motor starts up as it should the transmission shifts into reverse ans spins the tub. The pump alwaysa turns with the motor either forwards or backwards. If forwards it pumps water through the lint filter ansd when in reverse it pumps the water out of the tub. This is why the unit works in wash/agitate mode and not drain/spin mode.
The problem now is that to determin what componant is at fault you will need to have a volt ohm meter, a service manual, and the skill to use the volt ohm meter to test the system.
I can provide the service manual. The other two you will have to provide.
If you can do this I will upload the manual for you.
Please let me know if you wish to receive the manual.
If this answer satisfies your question please click the accept button. I will not be paid if you dont.
You can always ask follow up questions after you accept. I will be here to answer them.
If for some reason you are not happy. Please tell me what I can do to put a smile on your face.
Thank you for using Just Answer. Please tell someone about us.
Best regards; The Home Smithy