A rape accuser of former Soros Fund portfolio manager Howard Rubin has backed off of her allegations amid a new settlement agreement between the pair, according to court papers and a sworn statement.

The woman sued the financier in 2018 for $7 million claiming that he brutalized her in his sex dungeon while repeatedly ignoring their agreed-upon safe word “pineapples” in 2015. Rubin denied the allegations.

The accuser “voluntarily discontinues all of her claims against defendant Howard Rubin” the pair’s lawyers said in Manhattan Supreme Court papers filed Monday.

And in a sworn statement from Dec. 4 the woman said that she “knowingly and voluntarily chose to engage in consensual sexual activity with Mr. Rubin, including Sadomasochistic activity.”

She also said in the statement that she voluntarily signed a confidentiality agreement with him Nov. 5, 2015.

The woman had claimed at the time that she had been plied with alcohol before she was made to sign the nondisclosure agreement.

“I now realize that my decision to file legal claims against Mr. Rubin was a mistake, and I have no claim for damages,” she went on to say in the statement.

In October, the woman accused Rubin of tricking her into agreeing to a settlement offer, only for Rubin to later demand she “sign a statement exonerating” him after they already hashed out the deal.

The woman’s lawyer, Kevin Landau, told The Post that the terms of the settlement are “highly confidential.”

“I can’t elaborate about the terms. All I can say is that the case needed to be resolved,” Landau said. “The case is now done.”

In September, another woman alleged in a lawsuit she was sexually abused by Rubin and another woman at his apartment — and that Rubin later threatened to discredit her as a prostitute if she brought claims against him. Rubin denied those accusations as well.

Three other women brought similar claims of sexual abuse and rape against Rubin in a Brooklyn federal lawsuit in 2017. That case is still pending.

Rubin’s lawyer also said, “The terms of the settlement agreement are confidential.”