How can i extract the pooled layer from BERT?

How can I get the pooled layer from BERT ? will it be the concatenation for the last four layers ?