To quote from the Haas manual '....a fourth axis may be disabled from the Setting page and removed from the machine. Do not connect or disconnect any cables with the power on. If you do not diable the fourth axis when it is disconnected, you will get an alarm'.
It is Setting 30. Enter the Setting page, type in 30 and down arrow, scroll through the selections using right arrow and press write when OFF shows.