Moor: anchor and tie back in the harbour. Mooring fee for 10mt yacht with free water and electric is 10 euro per day.
Ashore: It is usually busy and can be noisy with all the bars and tavernas around the harbour. Good supplies in the town (well-stocked supermarket, a marina, shipyard, Diesel, a sailmaker, as well as laundry) and plenty of hire shops to get a scooter or car to explore the Island. There is a bus to the capital Samos where you have Lidl.
Lidl is on the road between Pythagoria and Vathy, best to shop with a hired car. Laundry guy will collect and deliver back to the boat, just give him a ring.