uninstalling Pihole

what OS is your desktop system? Linux based? Theoretically there is an option to restore a backup during initial install from an attached USB device. Means you would need to copy backup folder from SD card to another USB pen stick/HDD (depending on size. Best would be to do this on a Linux based system to be able to keep file/folder permission and sym links.