I know, it will switch back to carplay automatically after a while, when I use Maze.
But I found the trick, in the menu, there is a place to manually disconnect the mobile device, just disconnect it, it will disconnect carplay app but keep my iphone charging via usb cable.