On 16 October, the day President John F. Kennedy was shown aerial reconnaissance photographs of Soviet nuclear missiles and launch sites under construction in Cuba, "Barry" was still undergoing upkeep at Newport. On 22 October, when President Kennedy told the nation that he had initiated "as strict quarantine of all offensive military equipment under shipment to Cuba", she cleared Newport on the night of 22 October, in company with , and . After rendezvous with on the 26th, she operated as a screening vessel and plane guard. Two days later, she was detached to operate on ASW surveillance and, after taking over the task from and , kept a close watch on contact "C-19", a surfaced Soviet submarine. "Barry", at this time well east of the "Quarantine" line, kept the Foxtrot-class diesel boat under surveillance until it submerged at 1814 that evening.