Stopping someone against their will can be false imprisonment or even kidnapping. There are laws that determine who is acting as a hero and who is acting as a vigilante.