Joaquin Morales will be replaced on an interim basis by the agency's current prosecutor Claudia Rodriguez.
Local gold prices hit their lowest level in more than three months after the announcement.
The funds will be used to finance its decarbonization plan, under which it aims to decarbonize 100% of its energy matrix by 2030.
The move follows the sale of the Nickel King property, highlighting the company's focus on advancing the South Crofty tin project in the UK.