A closely watched special election in Ocean City ended with voters rejecting a proposed ordinance that would have placed stricter limits on short-term rentals in residential neighborhoods and mobile home districts.