Original: Clerke had taken command of the ship after Capt. Cook was killed at Kealakekua Bay (island of Hawaii) on February 14, and was leaving the islands for the North Pacific.
Simplified: Clerke took command of the ship after Captain Cook was killed at Kealakekua Bay on February 14.