get-out clause
noun [ C ]
UK informal ukus LAW
part of an agreement that allows someone to avoid doing something that they normally would have to do:
Club officials allowed the German player to insert a get-out clause in his contract in case his family failed to settle in England.