A port-channel (sometimes referred to as a LAG or Ether-Channel) is a bundle of multiple physical interfaces that form a single logical interface. You can use port-channels to provide additional bandwidth or link redundancy between two switches. Port-channels are either defined statically or dynamically using Link Aggregation Control Protocol (LACP).

When a specific configuration is not in use, it is always recommended to remove it from the running/saved configuration to avoid unnecessary confusion and also to keep the config simple enough.

Therefore, when we try to remove port-channel configuration from the controller (like removing all the ports from the port-channel), we still see related configuration in the running configuration.

We remove the associated port numbers from the port-channel and the config still exists in the running configuration:

Even after removing the switch port/trunk configuration, the port-channel config still exists in the running configuration:

Only when the port-channel is un-trusted, the configuration would be removed from the running configuration: