KitchenAid F6 error

I have a KitchenAid microwave, model KHMS155LSS-1 that displays an F6 error. The control panel doesn’t work and it continues cooking when I shut the door. The only way to stop it is unplug it. Does the control panel (motherboard) need to be replaced? thanks.