Codders - Doesn't help with the solving the problem of why the electrics are upset, but if you need to get it all the way out of the water you'll probably find a hydraulic bleed nut/screw near the cylinder. Giving that a quarter turn (or more as necessary) should allow you to move the hydraulic fluid within the system and get it the last bit of the way up. All you need then is the gang of beefy lads to lift the bloody thing the last bit of the way
Don't forget to shut the valve off once in place or gravity will do its thing
Had a similar problem on my yammy - but stuck in the down position - once I found where the bleed valve was it came up a treat.