You don't need to close MPLAB to make it work. Just disable the programmer under the "PROGRAMMER" menu.