Disable Autoshutdown on Power Outage

Hello everyone,

I have connected a 3,7V cell Battery to the Beaglebone Black.

The problem is that every time I unplug the main 5V power supply from the board, the board is going into a safe shutdown mode (since the battery still supplies the board with power).
Is there a way to disable this auto shutdown pattern?

Kind regards,
Michael