Roles of heat transfer modes on transient cooling by quenching process