The most robust approach for `shared_ptr` ownership in Pybind11 is to directly return `std::shared_ptr` from C++ functions. This allows Pybind11 to correctly increment the `shared_ptr`'s reference count, ensuring both C++ and Python share ownership and preventing common memory management issues. `return_value_policy::copy` also ensures decoupled lifetimes by creating a new Python-owned instance.