If you are talking about SPG, there are rod like things on the ends of the cars/locos that you can click to uncouple.
Again, details. We don't know what you're trying to do with what consist other than couple and uncouple. There could be a valid reason, or a bug, or that function's locked out because you're in a training scenario and you need to couple but not uncouple at that point...