That is why the maintenance of hydraulic cylinders for trucks and other equipment is very important.
These must be checked periodically to avoid such incidents in which the hydraulic cylinder fails and the repair will be expensive because a new one will be needed.