Trash compactor not stopping

Please make sure to click on General above and select the correct appliance type first.

Brand: Kitchenaid
Model Number: KTTS505ESSO
Main Symptom: won’t stop running
What happens & when:

Error Code (if any):
Parts or tests already tried:
Photos / video link:

At that point you’re usually looking at the switch AP6017607 the foot pedal activates or the actuator lever AP6021599 for that switch is out of adjustment.

https://www.appliancepartspros.com/whirlpool-switch-pushbutton-nc-wpw10242556-ap6017607.html

https://www.appliancepartspros.com/whirlpool-actuator-wpw10451270-ap6021599.html