There is no demotion per se, but the steps 5 and 6 are addressing changing the roles:
5. Log into the SmartDashboard of the Secondary which is now the new Primary.
Delete the old Primary object.
6.Rebuild the old Primary Security Management Server as a new Secondary Server.When it comes to the option during first time configuration wizard how to install this server, primary or secondary, select secondary. Bring it up to the same HFA version and as the new primary. Plugins, etc. also have to be the same.