A trick I have used is to deploy a sheet or two of plastic canvas - which is still relative cheap, widely available and used for stitchery originally.
Very flexible - comes in at least 2 & sometimes 3 mesh sizes - most common is 7 count - seven holes per inch. 10 count is usually available and occasionally 14 count.
For all fish except small fry, 7 count is good enough. Sheets are commonly 8x11” but there is a much larger one - 16 or 18 x 11 or 12, I think
I usually remove most or all of the wood, rock & plants because they really do make it tough.
Then I use the sheet or sheets of mesh to push/herd/encourage fish to move in a general direction I want and a sheet can be quickly curved to corral them in a corner or anywhere against a pane of glass.
Otos easy to hold the curve with one hand and pushing its bottom edge into the substrate fixes things so they can’t swim underneath.
When I’ve had to catch all the fish in a given tank, I have some large nets, about as wide as the tanks are. I prop one on a slant at one end with the net spread open to its full depth behind its opening & I use the mesh sheet to herd the fish into the net.
I hold the mesh sheet over the net opening and then lift out the net, usually with a lot of fish in it.
The last few fish are always the hardest to catch - they know something is after them! It’s especially tough with long skinny ones like
kuhli loaches or very fast or tiny ones and to get the last of the fish I usually have to remove most of the water as a last step.