How did you get the washer to stop filling with water?
If you were able to turn the washer off or unplug it to stop the water then you may have a bad timer.
If you had to turn the water off to stop the water flow then the water fill valve was stuck open and will need to be replaced.
Most of the time when this happens it's because the water fill valve got stuck open.
I tried to look up the part number for your timer and water valve, but I could not find the information using the model number (PAC 2360AWW) you posted.
Are you sure that is the correct model number?