Sometimes, washers get a little noisy and produce threatening banging sounds. This happens due to imbalance resulting from loading heavy items. If you fail to address the problem in time, the drum may get stuck. If there is such an imbalance, you are likely to see the UE error code on the display.
If you hear those rattling sounds, stop the cycle and take the laundry out of it. Test-run the washer without loading it and see if the drum still rotates. If the machine works ok in this mode, the issue may have resulted from loading too many heavy items. Balance them with lighter ones. Also, you can try the Heavy Wash cycle.