Every situation is unique. But coaches like their players to go to the next level. It’s good PR for recruiting.
84% of American MLBers come from the first ten rounds. Another 10% come from rounds 11-20. Everyone else is mostly likely to be Single A roster filler for a couple of years. Pitchers drafted later have a better shot than position players. Velocity is an easy measurable.
It’s important to figure out where you fit versus staying in school, enjoying college ball for a couple more years and automatic acceptance to grad school.