I would try to move her to a separate tank where she can spit the fry out peacefully. What I have done is wait two weeks before trying to move the female though because of the risk of stressing them and causing them to spit out the fry early. However, if she is being harassed you might want to separate her earlier. If you let her spit in the main tank the chances of having fry survive can be low to moderate depending on what sort of hiding places you are offering.
To move the female out it is best to try to catch her first thing in the morning before you turn on the lights. Even better is leaving some sort of container in the tank long enough for the fish to get used to and then first thing in the morning catching her and slowly putting her in that to reduce stress.
To move the female out it is best to try to catch her first thing in the morning before you turn on the lights. Even better is leaving some sort of container in the tank long enough for the fish to get used to and then first thing in the morning catching her and slowly putting her in that to reduce stress.