Macbook Pro Spontaneously Shutting Off
i found that holding the control button in between typing or any action is the only way the keep the macbook running when this problems happen looking for a solution
MacBook Pro with Retina display, OS X Yosemite (10.10.4), Macbook Pro Spontaneously Shutting