Please follow the step-by-step guide to sign out of iCloud on your iPad:
Step 1: Launch the "Settings" app.
Step 2: Tap on your signed in Apple ID at the top of the screen.
Step 3: Scroll down to the bottom of the screen and click on "Sign Out".
Step 4: Enter the password associated with your Apple ID. Click on Turn Off.
Step 5: Select which data you want to keep a copy of on your iPad and toggle the switch to on.
Step 6: Click on "Sign Out" in the upper right corner.