Best solution if you're D+ level is to assist in finding your replacement, train them and introduce them to the team before your departure. Be strategic about it. More importantly, be empathetic to those who granted you the authority to lead them, your team(s), and make sure they are in good hands. Don't abandon them. Make sure loose ends are either tied or handed off to capable hands.