If it's the case that Coinbase shut down and goes bankrupt due to things like bad business handling or bad capital and finance management, there's a decent chance that Coinbase would simply notify their users that their service is shutting down, while giving them ample amounts of time to withdraw their money.