Ulcerative colitis stays in the colon, so removing it cures the disease. Crohn's can come back anywhere.
Ulcerative colitis can be cured by total proctocolectomy. Emergency surgery is a subtotal colectomy with end ileostomy, and the rectum is left in place. An ileoanal J-pouch can restore continuity, but pouchitis is common. Crohn's disease can't be cured by surgery, which is used for fistulae, abscesses, strictures or obstruction. Save bowel length with stricturoplasty to avoid short bowel syndrome. Pouches aren't recommended in Crohn's. All IBD surgical patients need DVT prophylaxis.