compactor won't turn off at top of cycle

Which switch needs to be replaced if compactor won’t turn off at top of cycle?