SIMFEROPOL, Crimea — The Ukrainian marines emerged Friday from their barracks juggling awkward armfuls of personal effects: wet-weather overcoats, suitcases, potted plants, even a model ship.

They were giving up their headquarters here, surrendering to the reality of Russia’s occupation and annexation of the Crimean Peninsula, accepting that the struggle was already lost. The local pro-Russia militiamen who surrounded the building searched each marine’s possessions, poking through cardboard boxes and shopping bags to make sure no weapons were being taken. A few feet away, masked Russian soldiers watched impassively, leaning on their rifles.

Virtually identical scenes have played out at bases and other installations across Crimea in recent days, as the Ukrainian military began packing up. In some places, the militiamen and Russian soldiers evicted the Ukrainians by force. On Saturday, Russian troops smashed through the gates at the Belbek base and took control, although some Ukrainian troops remained inside, and negotiations over the terms of withdrawal continued.

But in most of the takeovers, like at the marine headquarters, troops who had hunkered down through more than two weeks of tense standoff finally yielded to the fait accompli and let the Russians in.