You can’t paint all Amish groups with the same brush. Different communities can have highly different rules and norms. And, Amish are like any other community of sufficient size - there are a percentage of honorable folk and a percentage of scoundrels and a vast middle just trying to get along.
And it isn’t impossible to leave. I know several Amish that have “gone English”. Not an easy decision, but it is not a trap.
Friday evening I encountered Amish James Dean. Young single guy in a cart powered by a single horse. He was swanging all over the road, popping in and out of the ditch on purpose with a scowl on his face.
It was crazy. They are usually all smiles and waves.
You are correct that they will allow people to leave. But with a limited education, no friends or support network outside of their community, no funds, and everyone that they know will refuse to even acknowledge their existence, it’s not really a choice.