Star trek insurrection how did the Enterprise return home with no warp core?

You know how in star trek 9 the enterprise had to detonate their warp core to seal a rift ....how did they get home with no warp core?

What do you think? (In universe reasons)