Problem With an Amana Washer

Washer has an ND code, stopped mid cycle and won’t restart. Water is drained from tub, just won’t continue to spin cycle. Any ideas?