carpet surfing catfish

I found this afternoon that my botia catfish had lunched itself a good three to four feet out of my freshwater tank and was lying on the floor. As i went to pickup the fish, that i thought was dead, it started to wiggle and flap around.so , i caught the fish and put it back into the tank. it swam away with appearly no ill affects.that’s one luckly fish