Why was the underground railroad underground in the North?
Because helping slaves to escape bondage was illegal, nor could a former slave be free by being on free soil in Northern states, per Dred Scott. The "Underground Railroad" was an act of Civil Disobedience.