The cost of ending a presidential campaign