The return of escaped slaves in the US became compulsory after congress introduced the fugitive slave law.

The law covered all states, and even those who forbade slavery had to return escaped slaves to the states they came from.

Source