Originally Posted by
donawalt Now I noticed my iPad did not disconnect. Is the password saved differently there?
Check to see (in iCloud settings) if you have iCloud Keychain sync turned on in the settings on the iPad. If it's not, perhaps that explains it? It could also be that iOS devices behave differently from MacOS - when you forget the network, it's only affected the next time that you try to connect.
You could test this with the Mac and iPhone by forgetting the passcode on the Mac and see what happens on the iPhone, which you know already are keychain synced.