How to restore ipad to factory setting?
How to erase data from Ipad to factory settings?
iPad Pro, iPadOS 14
How to erase data from Ipad to factory settings?
iPad Pro, iPadOS 14
You may wish to start with this link:
What to do before you sell, give away, or trade in your iPhone or iPad - Apple Support
If this is not what you are asking, provide more information so someone
may offer a solution.
The process to restore your iPad to factory settings is described here:
Restore your iPhone, iPad, or iPod to factory settings - Apple Support
How to restore ipad to factory setting?