We had a much bigger shed, and a pine marten that refused to leave, despite our banging on the walls. There was all kinds of advice to use mink traps etc, but i didn't want to do that, and was at my wits end as the pine marten was wrecking the roofing felt. Finally, i came across some obscure advice from a forest worker about leaving a radio on to discourage wildlife entering sheds. Inspired, i got a portable bluetooth speaker and put it in the shed, and played music at top volume, leaving the shed open. The pine marten absolutely buggered off in short order, and never returned. ps: The music was "Journal of the Plague Years", by the Manic Street Preachers. In case that's important.
it will back, for sure, believe me. They do a LOT of damage in houses!!! - If they happen to die inside your wall, the smell will drive you crazy and you have to tear the house apart to find the corpse... Best Regards from Alaska