When, after a long delay, he was able to re-embark for Spain he died at sea before reaching his destination.
He died at sea before. He was reaching his destination. He was able to re-embark for Spain. This was after a long delay.