A factory reset erases all content and settings ... All the settings are reverted to default. Resetting your iPad also turns ...
In that case, your only option is to use a PC or Mac to put your iPad in recovery mode and then reset it. Keep in mind that this will delete everything on your iPad from data to settings ...