Clear Cables only ⌃⌫ — Logic Pro X keyboard command of the day

  Clear Cables only    ⌃⌫

Remove the cables from the current selection in the Environment.

Cable Environment objects in in Logic Pro — Apple Support

Choose Edit > Clear Cables only to remove the selected cables, without clearing any objects that happen to be selected.

This is useful when you want to clear all cables leading to, or from, one or more objects, due to the fact that selecting objects also selects all associated cable connections.