Gravity is defeated in a helicopter through juggling kinetic energy (speed), potential energy (height) and chemical energy through fuel burn (power). You can safely run out of any two of those if you have a surplus of the third. If you run out of all three at the same time, gravity will win.