I built an external hard drive with my old HDD and an external USB enclosure. Can you somehow "shut down" the hard drive before disconnecting it from the laptop?
At the moment I'm going to eject the hard disk and disconnect it from the Macbook. But you hear a noise, as if the disc stopped abruptly. Or is that unproblematic?
The "eject" only ensures that no more data is written to the disk before you pull it off. The engine continues to rotate until you take the power away. This is not a problem for hard drives and with your internal disks happens the same when you shut down the PC.
Yes, you can put the disk in a proper state, there are appropriate commands at the interface level.
Depending on the operating system, ejecting means that all cached data is written away, the rest depends on several factors.
And believe me, the sound that a record ABRUPT stops you definitely do not hear, what you may hear is the turning down of the spindle motor and before, if necessary, a click when pulling back the heads.
Is that also necessary to put her in such a state before deducting her?
No, the HDD usually gets along just as well when it's just turned off. In effect, the spindle turns out either way, and electrical energy is sufficiently buffered to pull the heads back.
Ejecting means that all open data will be sixty / beforehand.
After that, it should not be a problem to disconnect.
Noises are never good.