They enter their Wish, expressed in poetic natural language, and liberate the AI. It answers the wish, literally. The AI is out and probably doesn’t kill everyone because that would be a lame ending and also the AI doesn’t have human emotions (required for murder)