Francis Scott Key Bridge collapse in Baltimore...

The pilot may as well start job hunting right now.
If it is shown that the cause was a failure of the ships systems that are not the responsibility of the pilots (there were 2 on board) then they will keep their jobs. They are likely on administrative leave though until the cause is determined.