You can convert a Federated repository back to a local repository using the Convert a Federated Repository to a Local Repository REST API.
Important
The conversion from Federated back to local is allowed only if the Federated repository is not part of an active Federation containing additional members.