You mean the motor? it does have a magnet but it is not that powerful. Also I’s talking about a large magnet..
The good magnets in a hard drive are the ones that straddle the voice coils at the end of the head assembly. A pair of those is a blood blister looking for a finger to happen to.