You can use the physical buttons or the Settings app This article explains how to restart an iPad and, if it's unresponsive, how to force it to restart. It also includes other options for how to reset ...
Forgetting your iPad passcode can be a hassle. You could easily get locked out of it because there’s also a limit to how many times you can enter a different four- and six-digit combo.