Agricultural machine of the mounted or drawn type, moving during work normally in a direction of forward travel, and comprising: - a hitching support, - at least one tool or group of tools having, in the work position, an extension transverse to the direction of forward travel and projecting laterally with respect to the hitching support, the said tool or group of tools being able to be transferred about a transfer axis alternately between the work position, in which it bears at least partially on the ground, and at least one raised position, in which it is distant from the ground, - at least one mounting arm which is connected, on the one hand, to the hitching support, via a first articulation and a second articulation, this second articulation being offset forward, in the direction of forward travel, with respect to the first articulation, at least in the work position and, on the other hand, to the tool or group of tools considered at an assembly site that is offset toward the opposite end of the arm to the first and second articulations (L1 and L2) or situated at that end, - a safety device by means of which the tool or the group of tools considered can perform a safety movement under the effect of sufficient pressure exerted on the tool or the group of tools in an opposite direction to the direction of forward travel, this safety movement comprising at least a first phase of movement of which one component is a rearward rotation, this being with respect to the direction of forward travel and with respect to the hitching support, machine in which the said at least first safety movement phase takes place about the first articulation or about the second articulation, and in which the safety device comprises at least one guide device able and intended to allow a variation in a first distance between the second articulation and the assembly site when the rearward rotation takes place about the first articulation, or a variation in a second distance (D') between the first articulation and the assembly site when the rearward rotation takes place about the second articulation machine characterized in that the first and second articulations (L1and L2) together define the transfer axis. - a hitching support, - at least one tool or group of tools having, in the work position, an extension transverse to the direction of forward travel and projecting laterally with respect to the hitching support, the said tool or group of tools being able to be transferred about a transfer axis alternately between the work position, in which it bears at least partially on the ground, and at least one raised position, in which it is distant from the ground, - at least one mounting arm which is connected, on the one hand, to the hitching support, via a first articulation and a second articulation, this second articulation being offset forward, in the direction of forward travel, with respect to the first articulation, at least in the work position and, on the other hand, to the tool or group of tools considered at an assembly site that is offset toward the opposite end of the arm to the first and second articulations (L1 and L2) or situated at that end, - a safety device by means of which the tool or the group of tools considered can perform a safety movement under the effect of sufficient pressure exerted on the tool or the group of tools in an opposite direction to the direction of forward travel, this safety movement comprising at least a first phase of movement of which one component is a rearward rotation, this being with respect to the direction of forward travel and with respect to the hitching support, machine in which the said at least first safety movement phase takes place about the first articulation or about the second articulation, and in which the safety device comprises at least one guide device able and intended to allow a variation in a first distance between the second articulation and the assembly site when the rearward rotation takes place about the first articulation, or a variation in a second distance (D') between the first articulation and the assembly site when the rearward rotation takes place about the second articulation machine characterized in that the first and second articulations (L1and L2) together define the transfer axis.