You can't have the filter running and then just turn it off. All the bacteria will die off anyway and it will contaminate your tank.
You don't need a cycled tank when you're breeding. You will be making large water changes and the cycle will crash anyway.
The reason to have the tank running for a few days is to get a good infusoria culture in your water for some starter food.
Your male might not even spawn if you have a filter running. If he does spawn he might consider the tank an unsafe enviroment for his eggs an eat them.
You spawn the pair without the filter and introduce it once the fry are free swimming. It will keep the water nice and calm.