If a major at a college are filled to capacity, what is preferable for the college to do?

Some colleges have endowed professorships. In that case, even declining enrollment in a major doesn’t necessarily mean the money can be reassigned to other majors.