Before cancelling the connection, make sure the link status is displayed.
Follow these steps to cancel the ClassicLink connection:
Log on to the ECS console.
In the left-side navigation pane, click Instances.
Find the target ECS instance in the classic network, click More > Remove Link to VPC in the Actions column.
In the displayed dialog box, click OK.