For desktop systems, running Linux, I just unplug the drive and plug it back in again, hot, while the system is running. That clears the "frozen" state and permits firmware update, security-erase, etc..

Cheers