You should know how to turn the water OFF. I you had a burst pipe you would need to do it. Depending on your house, there is usually a mains stopcock under the kitchen sink.
With a toilet there is a tap next to it, turn it to off and the water stops.