MY BOOK 4TB hard disk suddenly not detecting in both Mac as well as in Windows but it is detecting in Kali linux

I have been using the drive for about 1 year and suddenly the drive stopped showing up in my windows os to check weather there is fault in my pc I have plugged it in various USB ports and I have even tried to change the socket the disk seems to be spinning but it docent show up in windows and the same occurs in Mac OS also

but fortunately it shows up in kali linux which was in my friends pen drive it works properly in it

as I don’t have enough spare hard drives to backup the files could you please help me what to do to mount it again in windows and Mac

NOTE: the hard disk does not show up in disk utility or in system information of Mac programs it is like there not even an trace of my drive in the logs