More likely a bad switch.. Try this first.
Kill all 12 volt power (Battery disconnect)
now: Operate the switch, like 50 times, both in and out positions back and forth, Since there is no power this will not damage anything.
Now restore power and try again. If it works, buy lotto tickets, if not, Well at least you got your money back on that repair attempt (Free is after all Free).
Just kidding on the lotto tickets, that actually is the suggested first repair.
NEXT STEP. locate the controller and see if a wire came off (Also back of switch) While at controller check for 12v.
Finally,, Depending on the slide type, there is a manual override, Without knowing slide type I can only guess as to what it is.
Home is where I park it!