Temporarily removing z-wave controller

I run HA and a Zooz z-wave controller on an RPi4. Because I’m stuck on zwaveJS I can’t do firmware updates from there. I’ll need to shut down HA, transfer the controller to my PC and use a utility, then replace the controller and reboot HA.

What’s the proper way to shut down HA and power down the RPi4 so nothing gets disturbed?

Or is it ok to just pull the power plug? I assume HA would reboot properly but I’ve never actually tried it.

UPDATE: NEVER MIND. I found the “shutdown host” function on the UI.