Bosch/Siemens Circ Pump Always Runs

Circulation pump started squealing intermittently during wash cycle so bought a replacement. Watched Youtube video to replace and all went smoothly. Turned on DW and circ pump started right away, hit Cancel/Drain and after a minute of drain pump (normal) should have shut off completely but circ motor is still running. Checked all connections again and I had the green ground wire and white wire on motor reversed, so put them back correctly but still keeps running.

Update: Found the wiring diagram tucked behind the left front, checked the wires to the pump motor, discovered I had the ground wire in the wrong place. Put it where it should be, pump is now off when it needs to be. Ground in wrong place was creating a closed circuit so motor ran constantly. My bad (as the kids would say).