 It was during this assignment that she suffered a near @-@ catastrophe when she ran aground on Pearl Rock , near Gibraltar in 1871 and nearly sank . Agincourt was leading the inshore column of ships , contrary to normal practice where the senior flagship lead the inshore column , and gently ran aground sideways when the senior flagship 's navigator failed to compensate for the set of the tide . Warrior , immediately following her , nearly collided with her , but managed to sheer off in time . 
