Mainz and Thomas Tuchel have reached a settlement to cover the final year of the former coach's contract after he resigned at the end of the season.
Tuchel will no longer be paid by the club, who have already appointed Kasper Hjulmand as his replacement, but he is not free to take on any other job without first seeking Mainz's permission.
Any club looking to appoint Tuchel would then have to pay a fee to Mainz for his services.
"I'm very pleased that we've reached this agreement," said Tuchel, who intends to take a year out.
"This mutual solution is what we were striving for. I would like to thank the club, the players and all my colleagues for six great years together.
"We can be proud of what we have achieved together over this time. I would like to express particular gratitude to (general manager) Christian Heidel, who gave me a chance to be coach in the Bundesliga here five years ago.
"I wish the club and their fans all the very best for the future."
Tuchel led Mainz into Europe twice during his five seasons as first-team coach, most recently in the season just gone which saw them finish in seventh place.
"Six great years together will live on in our memories, and we thank Thomas Tuchel from the bottom of our hearts for this," said Heidel on the Bundesliga club's official website.
"We wish him all the best for his personal future."