There was one where they're trying to get away from some space Thing that's feeding from the power of the engines -- so the harder they try to get away, the more they're sucked in. Kirk, the genius, got them out of there over Spock's protestations by engaging reverse thrust. Not quite the same thing, but related...

Peter