The main control module lost communication with the motor control module, which ended the spin cycle. If the load was unbalanced, it's a good idea to manually balance the load and remove items. The control module and motor control module should be connected if the washer still won't spin. If the wire harness is damaged, you need to replace it. The motor control module needs to be replaced if the wire harness connections are ok. If the problem continues, you should replace the control module.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.