I don’t think the border patrol will be demoralized if Trump wins. Department of (Mis)Education, EPA, and a bunch of other worthless rent-seekers, maybe. But they will keep there lips firmly locked on their government teat sinecures until they are dragged out, or ease into comfortable retirement.
None of them will quit; if the border patrol agents currently forbidden from doing their jobs are still on the payroll, they will never quit. Same goes for military personnel sent to various destination to lose wars; they are 0-2 with Iraq and Afghanistan but still drawing pay.