Hydro-pneumatic recoil mechanism