Hi. If you enabled Switch Control as the Accessibility Shortcut, try triple-clicking the Home button to turn it off.
Or ask Siri to turn switch control off.
Once you get in, make sure you update your Accessibility settings so it won't happen again.
Question: my ipad is not responding due to switch control help me