A gravity corrected theory for cylinder withdrawal