I was trying to install Ubuntu server to my external SSD via a bootable USB flash drive. After deleting whole partitions in the disk I changed my decision to boot Ubuntu and cancelled the installation.
Now when I connect hard drive it shows "Incorrect Function" in Windows. Other that that it won't show up in any other tools like gparted.
It showed up in BIOS menu as connected but I cannot access it from anywhere.