Non-aggression pact
A non-aggression pact is designed to make peace with the chosen country for a set period. The better your relationship with the country, the longer the term for which a non-aggression pact can be concluded.
Other countries can offer you to sign a non-aggression pact themselves.
Other countries can sign non-aggression pacts too.