If your gas supply is shut off, it should not affect the operation of your dishwasher. Dishwashers are typically powered by electricity, not gas. The gas supply in a home is usually used for appliances like a gas stove, oven, water heater, or furnace, but not for dishwashers.
Dishwashers use electricity to run the motor, control the settings, and heat the water (if it has a heating element for drying). As long as you have electricity in your home, your dishwasher should function normally even if the gas supply is shut off.
So, if your gas supply is interrupted or shut off for any reason, you can still use your dishwasher without any issues, as it operates independently of the gas system.