MPS is an oxidizer and will stay in the water until it has something to oxidize. If you are shocking with MPS, leave you cover off for 15-20 minutes and then you can either close it up or hop in.
It is not so much the MPS in the water but the offgassing of the oxidizing process. Some routines actually have you add non chlorine shock before you enter the water (Nature2 for example).