Not exactly. The ship was not "sent to scrap" -- it was moored alongside the breakwater, almost immediately across from the destroyed grain-loading docks -- and was sunk by the blast wave.
I did a lot of analysis re the Beirut explosion -- almost none of which is yet posted on FR. In my series below, in frame 1, you can see the "AN Ship" -- moored across the channel from the dock area where the explosion occurred. Somewhere in my files, I have an OHI of the ship after the explosion -- visible underwater at that same site -- capsized onto its starboard side...
(In the "after" OHI (Frame #8) the sunken "AN Ship" is not visible thru the wave reflections.)
(Obviously, there is a LOT MORE info in that image sequence...)
TXnMA