To get your gear back after the quest, you have to return to Delphine in her secret room at the inn in Riverwood.