If you are running a beta version of iPadOS - as detailed in the associated beta release notes, you should have full expectation of encountering issues and bugs.
If you are currently enrolled in a beta programme and wish to return to using the current production version, this support page provides the necessary information to remove the beta from your iPad:
How to uninstall iOS beta software - Apple Support
Restore Shipping Software - Apple Support
Be aware that if your iPad while running the iPadOS17 beta has been backed-up to iCloud, you’ll not be able to use this backup to restore iPadOS 16.6. A backup can only be restored to the same, or later, version of iPadOS. If you don’t have a suitable backup for iPadOS 16.6, you will need to set-up the iPad as new.