The Dutch captured the fort in 1642, gave the Portuguese and their allies free passage, and negotiated a treaty with the political leadership of Axim in order to normalise the situation.
[3] The remainder of the treaty dealt with mutual assistance in time of war, judicial authority, taxes and trade regulations.
In that document only diplomatic and political issues were dealt with (peace and friendship and establishing a protectorate), which made that treaty remain in force in its entirety for more than 213 years.
This was not the case with the Treaty of Axim, although the diplomatic and political framework remained in force until the Dutch left the Gold Coast on 6 April 1872.
[3] The treaty is titled "Agreement between the General Jacob Ruijchaver and the caboceros of Axem, sealed A.D. 17 February 1642."
[3][4] The treaty or agreement dealt with matters of allegiance and security, as well as domestic affairs in ten articles.