You change the boot variables, and reboot but this would always be disruptive. To recover from the loader prompt, if you have issues please follow this.
You can change these
boot kickstart bootflash:/n5000-uk9-kickstart.5.0.3.N2.2.bin
boot system bootflash:/n5000-uk9.5.0.3.N2.2.bin
Recovery from loader prompt
https://supportforums.cisco.com/videos/2546