Yes. PPA agreements have provisions for you to terminate or buy out a contract before the full term.