Some will go to independent leagues, some will move on and some will wait a month or two to get picked up again when someone gets hurt, more or less as a roster filler.
This is typically what you see at ther end of spring training.
Last week son's former college mate was released. He was a first round pick.