Question SSD won't show up in Win10

Jul 16, 2020
My SSD had some errors involving 0xc00000e and \bcd I tried everything but nothing seemed to work so I installed Windows 10 on my new m.2 drive for better use and to try and recover/fix the drive from there. However whenever I try to look for the drive I can only find it in the boot menu of my BIOS, but my BIOS says that the port that occupies the SSD has nothing on it. The drive doesn't appear in disk management, diskpart, and etc. I tried to boot from the SSD the same problem occurs and only crashes making it unable to fix. I tried fixing from USB installation, but most of the commands say "access denied" or "windows protection denied the request" and tried to fix the BCD using bootrec /rebuildbcd but it says that no drives contain windows 10. After installing the m.2 drive with a fresh install the drive disappeared.
Is there anyway to recover data or fix the drive
Thanks for any help