The coldstart.log command records the type of shutdown taking place into the errors file.
errors file, system-coldstart macro, u1f user exit, user.coldstart command