First you want to power off the virtual machines on the host gracefully. Then shutdown the hypervisor/OS gracefully. Next you will power off the blades in UCSM gracefully. The Chassis, FI, IOM, Fabric Interconnect and MDS all do not have graceful shutdown, you just remove the power. Make sure you have backups of everything, including full state and config-all from UCS. I would also save the running configs from the MDS.
Here is the procedure to connect to console port, but it's pretty universal across all Cisco devices.
https://www.cisco.com/c/en/us/td/docs/unified_computing/ucs/hw/6200-install-guide/6200_HIG/6200_HIG_chapter_011.html