Chosen Solution

How do I reset the SMC on a MacBook Pro 15" unibody mid 2010 because the computer keeps shutting down randomly?

https://support.apple.com/en-gb/HT201295 If it is shutting down randomly, it will more likely be an issue with C9560 on the logic board, causing a fluctuation of power supply to the GPU, which will cause it to randomly crash. This is a common fault on this model, and requires soldering to fix. Take it to a shop who carries out logic board repairs if you don’t have the tools/experience required to microsolder.