Read this.
Quote Quoting How do I stop a divorce case after it has already been filed?
If you are the one who filed for divorce, you can file a Request for Dismissal (Form CIV-110) to dismiss your case. But, if you do this and you later decide you want to continue with the divorce, you will have to start all over and pay the filing fee again.

If you are not the one who started the divorce case, you cannot stop it on your own. You need the other side to file a Request for Dismissal (Form CIV-110) to dismiss your case.

If you and your spouse or domestic partner filed a Joint Summary Dissolution, either one of you can stop the case by filing a Notice of Revocation of Petition for Summary Dissolution (Form FL-830)