in this case “on deck” means he was on the bridge, this is where a surface ship is controlled from. Looking at the damaged bridge wing, my guess is he was there at the time of collision.
Kinda sucks to be hit in the helm