"poweroff" binary in firmware

Should the poweroff binary do what it says on the tin ? Or should I add a symlink to it named "lockup", because that's what it does to my Humax :-(
Running it throws me off my ssh connection, but then the Humax remains on but doesn't respond to the front panel or the remote control. However it does respond to big rocker switch on the back.