An agricultural machine includes a hitching support, at least one tool or group of tools, at least one support arm which is connected to the hitching support by a first joint and to the tool or tool group, and which is mounted so as to pivot about a transfer axis between operational and raised positions, and a safety device making it possible to carry out a safety movement under the effect of pressure. The safety device includes a lift connected to the hitching support by a second joint. The second joint is offset relative to the first joint in the direction of travel. The safety movement can include a second movement phase during which the lift is able to move the tool or the group of tools away from the ground.