Using some google-fu:
- thermal protection shutdown, on the battery or the motor or electronics
- dirty contacts. On the battery, the drill, the trigger switch, the forward/reverse switch, etc
- other intermittent electrical connections, such as a cracked solder joint (harder to diagnose...