The terms of a licensing agreement are active for as long as stipulated in the contract unless there's a reason to end the agreement early. The length may range from a set term, such as a month (this is common in subscription software), to a lifetime.