Timo Glock checked out of hospital on Wednesday after having his appendix removed.
Following a sudden bout of appendicitis, the 28-year-old German driver had keyhole surgery on Tuesday in a Swiss hospital.
Virgin team boss John Booth had said it is therefore "unlikely" Glock will be fit enough to test in Barcelona early next week.
"Great news," Glock wrote on Twitter late on Wednesday, "(I) can leave hospital today!
"(Going) straight back home but unfortunately (for) more recovery (so) no training! That's boring!" he added.