The collision sensor protects the nozzle from damage in the event of a collision. In the event of a collision, the magnetic attachment of the nozzle opens and gives a programmatic stop command to the machine. The operation can be resumed by removing the cause of the collision and manually re-inserting the nozzle.