Switching off a e-sata harddisk when PC is still running

I read from the manual that I should avoid switching off my e-sata
harddisk when the PC is still power up. Is there any way I can switch
off the e-sata harddisk and prevent data lost ? May be some
precautionary steps ? Thanks.