If the problem persists after performing the restart, it will be necessary to reset your iPad settings. While this reset will not cause any loss of data, as a precaution, it is always wise to ensure that you have a current iCloud or iTunes backup before performing the reset:
How to back up your iPhone, iPad, and iPod touch - Apple Support
When you are happy to proceed, you can perform the reset from iPad settings:
Settings > General > Transfer or Reset iPad > Reset > Reset All Settings
If the problem still doesn’t clear, it may may be necessary to perform a factory restore - as this will both fully reset the iPad and install a fresh copy of iPadOS:
Restore your iPhone, iPad, or iPod to factory settings - Apple Support