Almost half of the ship remained above water, but it was in danger of sinking completely into a trough  deep.
The ship was in peril of sinking completely into a deep trough, despite having almost half its hull above water.