The mistress hid in the closet, but her lover had a surprising twist