If you are a team leader and choose to withdraw, please first see the article on how to leave your team. In particular, look closely at the section on how to leave your team as a team leader, which is after the first section.
Once you take this action, then you can just follow the regular withdrawal process.