Computer data can be compromised when the hard drive is triggered with a physical or logical failure. It doesn't matter if you have a Windows PC or a Mac system.
The hard drive internal mechanism is complex, and once it becomes damaged, it takes time to recover. A printed circuit board (PCB) is the electric board that flows the current to the hard drive to work in a mechanism.