Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
In general you disconnect it from the power source and connect it to a device that dissipates power. A Zener diode is one example if you do not want to recover the power. A battery is an example if you are interested in efficiency.
Since this is a DC circuit, power MOSFETs are the cheapest choice. Be careful about overvoltage protection from the inductive kick on the motor winding.