The Reform mayoress of Scarborough Town Council has resigned, which could lead to a possible by-election.