The hydraulic rear folding system includes a collision safety device. If the mower meets any obstacles, it can fold back to the rear. The mower is pivoted back into the working position by activating the spool valve.