I would say giving back the money does not release her from the terms of the agreement she voluntarily signed.
It’s a settlement.