Atlassian has not yet found a proper solution to migrate a Connect app to Forge app with the same key on the Marketplace.
Just sharing here in case anyone else is keen to follow the progress of this feature and perhaps even be an early adopter, but missed this announcement: