The primary reason for your inverter to keep shutting off is due to high voltage. Every inverter has a permissible voltage, beyond which, it shuts down for safety reasons.