Once a contract has terminated, open the contract, and set the status to Finish.
Change the Contract# to (in the case of the above contract) ZZ1. The contract history will remain, however the contract will appear at the bottom of the list.
This will also remove a child from a master contract, however all the history will remain on the master.
Further information
How to