What O/S are you talking about…?
If you’re talking iSeries then you can do a CHGOBJOWN at any time… To name just one…
CHGOBJOWN is the common command to change ownership of objects that are in the /QSYS.LIB (library) file system.
You can also use CHGOWN for objects in other file systems as well as /QSYS.LIB. CHGOWN provides some additional generic (wildcard) possibilities.
CHOWN is a Qshell utility that may be run individually as a STRQSH CMD() parameter, from a Qshell command line or in a script. I haven’t looked, but I wouldn’t be surprised if the PASE shells offered similar.
Ownership may also transferred by deleting a user profile and specifying OWNOBJOPT( *CHGOWN <newowner> )
There might be other ways.