Any remaining treasury you have at the end of the turn is shipped to your master. Not a big deal. They'll declare war soon enough anyway.