Turn on all 6 grove electromagnets without auto shutting

I want to turn on all 6 grove electromagnet with GrovePi+ board on Raspberry pi 4. I try to run it but raspberry pi start to shut down itself. How can I achieve this without getting auto shut down issue?