Do not hard reset your Linux computer, as that may break things. Instead, enable and use the Magic SysRq key to reboot a frozen system in a safe and graceful way.
Of course, now it is too late for this, but it’s good to know such things for the future.
Welcome to the Forum.