To uncouple carriages, press F9 and then click on the coupler twice.
That double-click releases the connection, letting your train pull away without the trailing cars.