The Tesla Model Y will normally reboot the systems, sometimes more than once, while installing a software update. Perhaps the sound you heard was the high voltage contactors making connection with the high voltage battery during startup. If you continue to hear this sound while driving or while parked then you should probably create a service request using the Tesla app.