Hard disk faliure

I was working on my computer and suddenly an error occurred and system got shut down . When I restarted the computer it was not detecting my WD blue 2 tb hard drive. I again shut down my computer and waited for few mins and restarted and checked in bios and there was no hard drive present. I’m worried about my data…It’s still under warranty… Can I get my data if I take it for under warranty service???

Nope – Warranty doesn’t cover data recovery.