You'd think they'd have a satellite phone for backup communications - or something.
“.....navigated the damaged ship back into the busy port with only a magnetic compass and backup equipment.”
EMP type device looks more and more likely.