Mitt Romney on Tuesday warned congressional Republicans against shutting down the government in an attempt to defund ObamaCare.

“I badly want ObamaCare to go away, and stripping it of funds has appeal,” Romney said at a fundraiser in New Hampshire for the state’s Republican Party, according to prepared remarks. “But we need to exercise great care about any talk of shutting down government. What would come next when soldiers aren’t paid, when seniors fear for their Medicare and Social Security, and when the FBI is off duty?”

Speaking at the event in Wolfeboro, just miles from his summer vacation home, the 2012 Republican presidential candidate said “there are better ways to remove” President Obama’s signature healthcare law.

“I’m afraid that in the final analysis, ObamaCare would get its funding, our party would suffer in the next elections, and the people of the nation would not be happy,” he said. “I think there are better ways to remove ObamaCare.”