Difference between unclaiming and erasing a device

Hi all, can somebody share the difference between unclaiming and erase a device, cause reading at docs, as far I understand with both comands I can “recover” the device, thanks for the help!

Jaime