Should you accidentally move the wrong controller in Learn mode, you can easily delete an unwanted assignment.
In Logic Pro, select the assignment you want to delete in the Control/Parameter list.
Choose Edit > Delete (or press the Delete key).
In Logic Pro, use the Learn process to assign an active controller (one with an assignment in the active mode), then choose one of the options shown in the dialog:
Logic Pro Instruments: PDF