Robot end of alliance detection