All perfect praise be to Allah, The Lord of the Worlds. I testify that there is none worthy of worship except Allah, and that Muhammad is His slave and Messenger.
The Farewell Tawaaf is an obligation upon the one who performs Hajj according to the view of the majority of the Muslim scholars. The Prophet said: “None of you should leave Makkah before performing Taawaf around the Ka'bah as the last of Hajj rites.” [Muslim]
However, staying for a while waiting one's companions, or preparing his riding camel, luggage, or purchasing provisions that are needed in one’s journey after the Farewell Tawaaf is permissible. It does not cause any harm.
Imam An-Nawawi said: “It is better to perform the Farewell Tawaaf after finishing all tasks. And it is better to depart from Makkah right after making the Farewell Tawaaf. If one delays his departure from Makkah after the Tawaaf and the delay was not for any legal reason, and it was not to prepare for the journey, such as purchasing necessary provisions, or paying back a debt, or visiting a friend or a sick person, etc.; if the delay was not for such reasons, then one should repeat the Tawaaf.”
Therefore, your Tawaaf was correct because you were a little bit late in departing from Makkah for a legal excuse.
Allah knows best.