Press the Govern button under the minimap in the lower right hand corner.
Press the Ledger tab on the left side of the window that opens.
Press the Enchantments tab on the top on the window.
Find the enchantment you want to cancel (you can sort by enchantment or target)
Hit the dispel button associated with the enchantment.