xdea Spot on about the theory. Now let's fix OP's drive before they pass out. OP, stop touching DiskPart and don't touch Disk Management either.
Here is the 5-minute fix:
Download a free tool called TestDisk (it's open-source, CLI-based, looks ugly but works like magic).
Run it as Admin, select your external disk (check the capacity to make sure it's the 2TB drive!).
Select partition type (Intel for MBR or EFI GPT depending on how it was formatted).
Run Analyse -> Quick Search.
TestDisk will scan for leftover partition headers. Once it finds your lost partition, press P to list files and confirm your photos are there.
If everything looks good, choose Write to rewrite the partition table back to the disk, then reboot.
Your drive will instantly pop back up in File Explorer.