Five crew members were killed and four others injured during the incident. The Foreign Office said Pakistan had launched emergency measures to assist the injured and arrange the repatriation of the bodies of the deceased.
Foreign Office spokesperson Sajjad Haider Khan identified the deceased Pakistanis as Rafiullah Khan, Syed Kashif Umar and Mahmood Ahmed Ansari.
The government and people of Pakistan extended their condolences and sympathies to the families of the deceased.
According to the Foreign Office, four crew members were injured in the incident, including three Pakistani nationals. The injured were shifted to a nearby hospital for medical treatment, while the remaining crew members were safely brought ashore at Bandar Bela.
A team from the Pakistani embassy in Djibouti is being dispatched to Bandar Bela to assist Pakistani nationals. Pakistani authorities are also maintaining contact with Somali officials and other relevant parties.
The Foreign Office said every possible effort was being made to ensure proper medical care for the injured Pakistanis, while arrangements were also underway to bring the bodies of the deceased back to Pakistan.