The CEO of Danish brewer Royal Unibrew has resigned.