If running without plugins is still laggy, go to Library > Switch/Create Library and select the option to create a new library at the new location.
I've accidentally messed up the library a few times (e.g.
accidental recursions or badly-coded composite columns) and caused Calibre to hang and/or outright crash.