Anthony Cowan Jr.'s late 3-pointer secured a 64-60 win for 19th-ranked Maryland against the Badgers after a 21-point comeback.