Brickpi shutdown sequence

Will turning off the switch on the BrickPi issue a shutdown command to the RaspberryPi to shutdown gracefully or is it just like pulling the plug and not recommented?

It is a simple switch just like a light switch. Flipping it off instantly cuts power. Doing so can risk corrupting the ad card. This could result in data loss and reinstalling the os. So, don’t do that if you can help it.