Simplify the sentence: They help Lotso to reach an emergency stop button, but instead he escapes and leaves them to be burned.
After narrowly avoiding a shredder, Woody and Buzz help Lotso reach an emergency stop button, only for Lotso to abandon them.