Hello, my name is Pavel, and I will be supporting your case, I reviewed your information, and the mode of Maintenance Mode sometimes is when the MK20 (debugger) of the frdm is prepared to update the firmware.
*So, this thread could help you the debugger on the board, to get out of the maintenance mode.
OpenSDA Serial and Debug Adapter | NXP Semiconductors
Best regards,
Pavel