You can suspend the UART devices manually at runtime using the following shell commands:
uart:~$ pm suspend uart@9000 # Suspend UART0
uart:~$ pm suspend uart@8000 # Suspend UART1
Note
After suspending the UART that you use for the shell, you cannot send further commands until you reset the device or resume the UART through other means.