Modern Cooktown which has a population of about 2,000 , is located at the mouth of the Endeavour River .
There is now a town , Cooktown , at the mouth of the Endeavour River .