How do I retrieve a menu using its link?
Try the property link.uri:

$menu_links = \Drupal::entityTypeManager()-&gt;getStorage('menu_link_content')
  -&gt;loadByProperties(['link.uri' =&gt; 'internal:' . $path]);