Fatts Russell and Eric Ayala combined for 38 points in the Terps' first win under interim head coach Danny Manning.
The Terps were plagued by the same shooting issues as before in their conference opener against Northwestern.
Assistant coach Danny Manning will take over as the interim head coach following the announcement.
Wahab often starts strong for the Terps, but is routinely taken out of games down the stretch.
The Hokies have struggled against teams that shoot well this season.
After four years at Maryland, Mike Locksley's Terps are bowl eligible.
The Cardinals out-rebounded the Terps to put the championship trophy out of reach.
Hart dropped a team-high 24 points in the Thanksgiving showdown.
The Terps were blown out by Michigan and fell to 2-14 against ranked teams since 2018.