clearActiveCommand