The two women stepped down after a friendly gesture, with applause in the background.