Thats definitely an issue with the safety switches or wiring. I just ran into the same thing on a BX25. There are 2 on the seat and 2 PTO safety switches on mine.
Switches may be fine and connectors corroded. Kubota uses really poor quality connectors. Completely open to the elements for dirt...