No, you shouldn’t remove your fish when doing a water change. Your fish will be safer if it stays in the tank during the entire process.
Typically, you only need to change out 10–15% of the water at a time, so if you leave the fish in its tank while doing the water change, it will still have plenty of water. In fact, removing the fish will only stress them out and put them at risk of being injured.
However, make sure to do the water change slowly and carefully. Doing a water change too quickly can cause a fish to go into shock. A slower water change will help protect your fish from going into shock or being stressed out.
Additionally, remember not to use tap water for the water change or for rinsing the aquarium walls. Tap water can ruin your tank’s nitrogen cycle and potentially kill your fish.