Imported from the Apple Support Forums via the Wayback Machine 🔗
Try a forced restart and see if the device responds after that. You didn’t say which model you have so pick the method that fits your device,
On an iPad Pro 11-inch or iPad Pro 12.9-inch: Press and quickly release the Volume Up button. Press and quickly release the Volume Down button. Then press and hold the Power button until the device restarts.
On an iPhone 6s and earlier, iPad, or iPod touch: Press and hold both the Home and the Top (or Side) buttons for at least 10 seconds, until you see the Apple logo.