I'll admit that part of my motivation for making this thread is the increasing scrutiny on D&D's potentially problematic elements, such as use of fatal violence, who or what it is used on, and how lawful and or good characters should behave.
Looking at the various sets of laws by nation in Explorer's Guide to Wildemount I noticed that the Clovis Concord of the Menagerie Coast was alone in not utilizing capital punishment, despite the fact that a vast organization of pirates called the Revelry is a major enemy of theirs and obviously poses a great threat to the business interests of their multiple ports. There's also nothing in the book clarifying who in the Clovis Concord is protected by these laws. The player races, obviously, but what about other intelligent creatures, like the sahuagin that attack a town in one of the book's sample adventures? Ignoring PCs for a second, would guards employed by the Clovis Concord be obligated to subdue the sahuagin nonlethally and take them to jail? Killing them outright in self-defense makes more sense, realistically, but by RAW it is trivial to knock someone unconscious and in stable condition with a greatsword.
Say you just knock the bad guys unconscious and go on your way, scare them off, or even negotiate with them to let you go by safely; how is that doing anything other than leaving them to be someone else's problem?