Unplugging an HDMI cable with the monitor turned on is absolutely safe. However, don't do the same when unplugging from a GPU port.