After what feels like ages, we’ve finally got the passage blocked off.
At first, we tried to pull the underwater lever by digging a channel above it, but dwarves were unable to reach that far down into the water.
Then, we tried to channel out the ceilling above flood gate to be able to attach a new lever to it. Unfortunately, all our mechanisms had gotten separated from us by the flood. We needed to construct new ones, but we were also out of rock for the same reason. So, we dug a new staircase downward until we found some, but then discovered after hauling it back up and turning into mechanisms, that the floodgate was unable to be connected to, due to being underwater.
Finally, our last hope was to try to isolate a section of rock directly above a section of the pipe, in the hopes that we could cause a collapse and plug up the flow of water. It worked!
By now, everything in the fortress below basement 2 is completely submerged. We’re now just waiting for the lower levels to dry out… Thankfully, the most important areas were spared.