Intermittent problem with windshield wipers

I have a 2017 GEM E4. A couple weeks back, it started to rain while we were out and about and we used the wipers. When I got home, couldn’t turn the wipers off without shutting off power. When I turned the power back on, wipers were still running. I pulled the fuse and re-inserted it, still running. I pulled the upper dash, disconnected the power cable then reconnected it, and for some reason that seemed to fix the problem.

Fast forward to yesterday evening, again had to use the wipers, same symptom on arriving home. I didn’t fool with anything last night, but came out to the GEM this morning to look things over, turned on the power and the wipers are behaving normally again.

Any suggestions on what the problem might be?