Distress beacon

A distress beacon (also known as a disaster beacon) was an automated device on board starships or shuttles that was used to alert other ships or stations that they were in need of help, and made it easier to locate the starship in distress. It was typically deployed in dire circumstances, such as immediately before a starship is disabled or destroyed.