If your iPad is frozen to the point that you can't reboot it the normal way, perform a forced restart. Charge the battery.
Here's how to rotate the screen on your iPad, how to lock or unlock its orientation during use, and how to fix an iPad when it isn't rotating.