The Palace of Impossible Dreams

is the third book in The Tide Lords Series,

plot
Warning spoilers

the books starts of Declan Hawkes has just been made immortal (the reason is unknown). Arkady has been sold as a slave and Tiji has been captured by other Chameleon crasii.

...