Coffee was spilled in the gear shift casing. on 2005 Kia Amanti

It has PRND on one side and manual shifting on the other side, 12345. It won't switch back to automatic. I have to use the manual (Sport mode). I need it back in auto mode. What could be the problem and how can I fix it?

Asked by for the 2005 Kia Amanti
Replace component damaged by coffee. CAUSE of problem-to much caffeine. FIX it by decaffeinating.
what would the 'component" be ?