You can leave an unused axis disconnected (no motor).  Turn down the Vref if you like also.
CAUTION: Ensure there is NO POWER to the HobbyCNC board when connecting or disconnecting motors.