Mugs on Main in downtown Riverhead is closing after its landlord won a court judgment for possession and nearly $100,000 in unpaid rent, attorneys' fees and disbursements.