Even if the public isn't huge on whatever they release, a rapper should just release mixtapes and such because he or she loves it. So basically, whenever they want.
Even if people say "they should retire whenever they want" it wouldn't be strange seeing grandpa release a mixtape after he's taken his last Viagra of the day?