When disable cost center,the data related with all the cost center wants to diasble

when disable cost center,the data related with all the cost center wants to diasble?is there any option
can you please help me?