5d is a Whirlpool top-load washer's suds message: it found heavy foam and is running a routine to break it down. Correct dosing of HE detergent prevents it.
What it means
Too many suds
Whirlpool top-load HE washer (Product Help), Top-load HE washers Minor
Regions: United States
What the manual says
Heavy foam was detected and a suds-reduction routine is running. Use the right amount of HE detergent.