Unjoining a mesh

How do I unjoin an object? I have a mesh that is joined at the wrong center and I can’t undo it. Thank you for any help.

You can change the center of the object with Center Cursor in the Mesh panel of the Edit buttons.
To seperate a mesh, select the vertices/edges/faces you want to seperate and press P, 1.