 Following his arrest and release Chatwin left Benin and went to Brazil to continue his research on de Sousa . Frustrated by the lack of documented information on de Sousa , Chatwin chose instead to write a fictionalised biography of him . This book was published in 1980 , and Werner Herzog 's film , Cobra Verde ( 1987 ) , is based on it . 
