Do a web search for DC Electric Motors. These motors, just as a standard electric motor can be an electric generator as well. In your case, by placing an approriate resistance load across the motor leads you can create an electric brake, similar to the regenerative braking now used on electric automobiles.