Lipo battery as voltage provider while deplugging micro-usb cable between PC and MKR Zero?

Hi, you can use the battery connected to JST connector or power supplied through Vin to provide power for your MKR Zero board.

Docs: https://docs.arduino.cc/hardware/mkr-zero