That can get long and tiring if you aren't flying!
Mumbai (Maharashtra) to Shimla (Himachal Pradesh) distance is 1775 km and you can get there by flight + cab in just over 7 hours and 36 minutes or by train + bus fares starting from ₹ 673.
The heat there will make you sweat, but it's surely bearable.