If he officially retires, the money comes off the cap. If he's bought out, the buyout number is the cap number. If he retires, but wants to come back, the team that held his contract has exclusive rights, I believe. If bought out, he's a free agent. So it's a little complicated, but no, I would rather trade him for a decent player than pay him the full ride for a half-season's work next year.