Enable/Disable CLI+Logging Programmatically?

I'm trying to place my device in a low power mode for shipping.  I used Logging and CLI while its in operation, but I'd like a way to enable/disable the CLI+Logging over BLE.  As the UART backend consumes power, I would like a way to disable these modules.  I've tried using nrf_cli_stop(), which seems to work, but when I try and re-enable the with nrf_cli_start() I immediately get an error in nrf_cli_uart.c in the rx_try() function.  It fails at line 64 as it tries to allocate memory with a nrf_ringbuf_alloc() call.  Is there a different API I should be using for this?