away from the rammed ship after moving?
The submarine moves as if it was pushed away from the rammed ship, so its heading does not change. The bow of the submarine must be S away from the point in which it rammed the other ship, but depending on the angle in which it was moved and the physical design of the rammed ship, it is possible that part of the sub may still be within S of some part of the other ship (such as an oar, a bowsprit, or a nationality flag).