Surah At-Tawbah 9:1
بَرَآءَةٌ مِّنَ ٱللَّهِ وَرَسُولِهِۦٓ إِلَى ٱلَّذِينَ عَـٰهَدتُّم مِّنَ ٱلْمُشْرِكِينَ
[This is a declaration of] disassociation, from Allāh and His Messenger, to those with whom you had made a treaty among the polytheists.
Translation: Saheeh International
Tafsir
This is A declaration of immunity from God and His Messenger to reach the idolaters with whom you made a pact a pact for an indefinite period of time or one for a period of less than or more than four months; the annulment of the pact shall be as God mentions in His saying
Excerpt from Tafsir al-Jalalayn, commentary on 9:1, via Quran.com. The reader has the full commentary and 9 more tafsirs.