An energy conserving system for a hydraulic machine comprising a reservoir for providing a hydraulic fluid; a motor; a pump; an actuator comprising a motor shaft extending along an axis from a motor; a pump shaft extending along an axis from at least one pump; at least two gear wheels operably connected to each other, wherein a first gear wheel is detachably connected to the motor shaft and a second gear wheel is detachably connected to the pump shaft; the at least one pump coupled to the actuator and the reservoir; wherein the actuator is drivably coupled to the motor for controlling the hydraulic fluid intake of the pump; a master valve in fluid communication with the pump for regulating the flow of the hydraulic fluid; and, a valve plate in fluid communication with the master valve.