I was wondering about out-of-print music and how it comes back in print. Do the writers still retain their copyrights? Who determines when a record/CD will go out of print, and who makes it available again?

For instance, let's say there's a record I really loved that went out of print. How would one go about getting that record re-released?