I don't get the concept of "moving a matured CD". Unless you choose an option to roll it into a new CD (in which case the question is "moving a new CD"), you get cash wherever you told them to put it. So the question becomes, is there any consequence to moving $40K to a taxable account? The answer is No, unless the cash is in an IRA.
There is no taxable event when a CD matures, if that's what you are asking. The taxable event is the interest that has been paid on the CD.