Portal 2
When Wheatley cannot get the result he wants from the tests, he decides to kill Chell and GLaDOS. They escape and eventually find him, leading to the final fight. GLaDOS helps Chell attach broken personality cores to Wheatley to weaken him and she tries to press the button that switched GLaDOS and Wheatley in the first place. When she is unable to, she shoots a portal on the floor below Wheatley and another on the moon, which can be seen through a hole in the roof. Wheatley is pulled from GLaDOS's body and released into space. Chell is almost pulled out too, but GLaDOS saves her and closes the portals.