Put salt on them.
Here in Alabama I’ve only seen a few hammerhead worms over the last few years. I chucked one into a five gallon bucket and it climbed right up the side. When I find one now I stir up a fire ant mound and let them go at each other.
Works for slugs and snails but my wife always complains.
What happens when you pour salt on them?