I've never used a leash, but i think all you have to do is strap one end to one of your bindings, and then strap the other end to your ankle.
To stop on a mountainboard you can do what is called a powerslide. When riding, squat down, grab the side of your board, lean back, and kick out the back wheels of your board so it slides across the ground and brings you to a stop.
You can also powerslide the other way by grabbing the back of the board and leaning forward.