We tried to talk her out of it for ages, but she still insisted on resigning.
Tips
usage
执意 implies stubbornness against advice — it's used when someone refuses to listen to reason. It's more literary than 非要 (fēiyào), which is the colloquial equivalent.