The Gemara Zevachim (113b) mentions the fish in the sea died:
ואמאי קרי ליה חרבה כדרב חסדא דאמר רב חסדא בדור המבול לא נגזרה גזרה על דגים שבים שנאמר מכל אשר בחרבה מתו ולא דגים שבים
And why does the Torah call it “dry land” during the flood? There was no dry land during the flood. It is in accordance with the opinion of Rav Ḥisda, as Rav Ḥisda says: During the generation of the flood no decree was decreed upon the fish in the sea, as it is stated: “Whatsoever was on the dry land, died” (Genesis 7:22), i.e., only those creatures that had been on dry land, but not the fish in the sea.
Would that mean fish kept in ponds or aquariums would have died?