My understanding is that he was legally forced to hand over the encryption key and all the data. The FBI, then, could have read all messages that were available on the server.
He shut down so that no additional mail could be sent and read.
It's unclear to me how much mail was kept on the server. Only unread mail? Anything in your inbox? Everything?