I'd leave it on the yeast until you are sure you are at a solid FG for a few days. I've had beers sit on dry hops for 2-3 weeks (not intentionally, but life happens), and they've been fine. I'd be hesitant to leave it in primary for several months, but have no direct experience with o say that it is definitely a bad idea.