A restraining order, also known as a protective order, is a legal document that orders an individual to stop engaging in abusive or threatening behavior towards another person.