The stress from ANY surgery can cause a temporary shedding. This type of surgery doesn't usually cause the rapid and significant rise in testorsterone that would be associated with hair loss though. You might have other causes for hair loss - check in with your hair loss specialist.Good Luck!
Any surgery that causes stress, can cause an acceleration of hair loss in individuals with genetic hair loss