So, I have 2-3 solutions for your Problem - starting with
👉 did you plug in your hard disk in iPad or any other computer - does it show your drive content, if not showing it means SSD is not in working situation any more better to send to Samsung as they are offering a year warranty don’t have idea for sandisk. I’m sure for Samsung bcz I sent mine ssd to them for a data recovery.
👉 How to avoid it’s happening again! - when you put you Mac to sleep then automatically SSD goes in stand by power and when you awake screen it start working as usually without a pop up “Disk not ejected properly” if you still showing this notification then turn your SSD from APFS to mix formate exFAT I’m using since a year have no problem at all and plus point you can plug it in both windows and Mac machine.
👉 But as per my perspective we need not to eject every single time unless SSD is in work or any folder is opened and any task going on background using data from ssd. So better to close every single process associated with SSD and then put your Mac to sleep and whenever you will turn it on it won’t show you that message. It pops up only when you put Mac to sleep and task is still going in background using ssd data. Else I never saw this notification since I close all the tasks.