SANTA ROSA (AP/CBS13) – A man who had been trapped for two days inside a large fan at a Northern California vineyard has been rescued.

The Sonoma County Sheriff’s Office says a deputy responding to a call about a suspicious vehicle parked near the Santa Rosa winery discovered the trapped man on Tuesday.

READ MORE: Counter Lawsuit Filed After Restraining Order Against Sacramento City Hall New Hire Was Denied

Authorities in the process of rescuing the man. (Credit: Sonoma Sheriff)

The deputy saw a hat on a piece of farming equipment and then found the man stuck inside the shaft of a vineyard fan. Firefighters rescued him.

“The man indicated he liked to take pictures of the engines of old farm equipment,” the statement said. “After a thorough investigation, which revealed the farm equipment wasn’t antique and the man had far more methamphetamine than camera equipment, the motivation to climb into the fan shaft remains a total mystery.”

READ MORE: River Cats' Fans Brave The Heat In First Game WIth Full Capacity Availability

The 38-year-old man required medical treatment but is expected to make a full recovery, the office said.

The man will be charged with trespassing and drug possession, as well as violations of a probation case, the statement said.

Vineyard fans are used to circulate air across vines to keep grapes from freezing during colder months.

MORE NEWS: Cooling Centers Open In Sacramento Region This Week

Copyright 2021 CBS Broadcasting Inc. All Rights Reserved. The Associated Press contributed to this report.