Your first steps before resetting your loaner iPad should be backing up any personal data you wish to keep, as well as disassociating it from your personal account.
Go to Settings , and select iCloud Settings (top item on left navigation pane)
Click on “This iPad” in the list on the right, then click “Find My iPad” .
Turn off Find My iPad (you may be prompted for your Apple ID password)
Click “iCloud Backup”
Click “Back Up Now” (optional)
While still in Settings, go to iTunes & App Stores
Click on “Apple ID: <your username>”
Click “Sign Out”
You should also disable Touch ID & Passcode
Enter Passcode (if you set one)
Click “Turn Passcode Off” (you may be prompted for your Apple ID password)
Enter current Passcode
To reset the iPad to factory defaults, go to Settings and click General
Click "Erase All Content and Settings"
confirm by clicking "Erase"
The iPad should now be ready to return, using the original packaging to box up the iPad and Apple Pencil.
If possible, schedule a time to drop off your items at the Sherman Fairchild Library.
If you cannot drop off your items, please fill out this survey, and Caltech Library will make arrangements to get you a shipping label in order to mail back your items.