An undertaking is when someone promises the court that they won’t do something.
For example, the respondent may promise the court that they won’t bother you again or go near your home.
It’s a legally binding promise, and if it’s broken, the court can punish them with a fine or imprisonment.
But it’s not as strong as a court order. The police won’t have the power to arrest the respondent if they break an undertaking, so it’s harder to enforce and it takes longer too.
You don’t have to accept an undertaking. It’s best to get legal advice before agreeing to one, as you might be better off with the fuller protection of a non-molestation order.