Sounds like she was trying to report his behavior and the police just weren’t listening. They failed her.
I don’t know how restraining orders differ across the world, but I know locally (in the US) they only work if the person values their freedom and life.
My sister’s coworker was taken hostage and killed at work, despite having a restraining order against an ex boyfriend that had beaten her unconscious in that same location earlier. The guy was determined to kill her, restraining order be damned.