Clean up Shell active and move up/down.