Leaving well

How do you leave a youth ministry role with honesty and grace?