The sea gave up the dead that were in it, and death and Hades gave up the dead that were in them, and each person was judged according to what they had done.
In context
11Then I saw a great white throne and the one seated on it. Earth and sky fled from his presence, and no place was found for them. 12And I saw the dead, great and small, standing before the throne, and books were opened. Then another book was opened, which is the book of life. The dead were judged according to what they had done, as recorded in the books. 13The sea gave up the dead that were in it, and death and Hades gave up the dead that were in them, and each person was judged according to what they had done. 14Then death and Hades were thrown into the lake of fire. This is the second death, the lake of fire. 15And anyone whose name was not found written in the book of life was thrown into the lake of fire.