Use this guide to remove and replace the battery for the iPad Pro 10.5”.
Because there are steps in this guide where the battery may remain connected to the logic board, leave the iPad on until the battery is '''completely discharged''' (the iPad turns itself off) before attempting this guide. A charged lithium-ion battery can catch fire and/or explode if accidentally punctured.
Have plenty of high concentration (over 95%) isopropyl alcohol to help make the removal and residue cleanup easier.
If your battery is swollen, [[What to do with a swollen battery|take appropriate precautions|new_window=true]].